51b707e0128d7d80e6c3c0b7ca2c5ca85266f473
[darcs-mirror-screen-message.debian.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # debian/rules file for sm
4 # (c) 2007 by Joachim Breitner
5 # Based upon sample debian/rules that uses debhelper.
6 # GNU copyright 1997 to 1999 by Joey Hess.
7
8 # Uncomment this to turn on verbose mode.
9 #export DH_VERBOSE=1
10
11 build: build-stamp
12
13 build-stamp: 
14         dh_testdir
15
16         # Add here commands to compile the package.
17         $(MAKE)
18
19         touch build-stamp
20
21 clean: 
22         dh_testdir
23         dh_testroot
24         rm -f build-stamp 
25         
26         # Add here commands to clean up after the build process.
27         -$(MAKE) clean
28         
29         dh_clean 
30
31 install: build
32         dh_testdir
33         dh_testroot
34         dh_clean -k 
35         dh_installdirs
36         dh_install
37         dh_strip
38         dh_shlibdeps
39
40 # Build architecture-dependent files here.
41 binary-dep: build install
42
43 # Build architecture-dependent files here.
44 binary-arch: build install
45         dh_testdir
46         dh_testroot
47         dh_installchangelogs 
48         dh_installdocs
49         dh_installmenu
50         dh_installman
51         dh_compress
52         dh_fixperms
53         dh_installdeb
54         dh_gencontrol
55         dh_md5sums
56         dh_builddeb
57
58 binary: binary-indep binary-arch
59 .PHONY: build clean binary-indep binary-arch binary install