chiark / gitweb /
Import release 0.1.14
[secnet.git] / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # This file is public domain software, originally written by Joey Hess. 
4 # Modified for secnet by Stephen Early <steve@greenend.org.uk>
5
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
8
9 # This is the debhelper compatibility version to use.
10 export DH_COMPAT=2
11
12 build: build-stamp
13 build-stamp:
14         dh_testdir
15
16         # Add here commands to compile the package.
17         ./configure --prefix=/usr --sysconfdir=/etc && $(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) realclean
28
29         dh_clean
30
31 install: build
32         dh_testdir
33         dh_testroot
34         dh_clean -k
35         dh_installdirs
36
37         # Add here commands to install the package into debian/<packagename>
38         $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
39
40 # Build architecture-independent files here.
41 binary-indep: build install
42 # We have nothing to do by default.
43
44 # Build architecture-dependent files here.
45 binary-arch: build install
46         dh_testdir
47         dh_testroot
48 #       dh_installdebconf       
49         dh_installdocs INSTALL README NOTES TODO NEWS BUGS CREDITS
50         dh_installexamples example.conf
51 #       dh_installmenu
52 #       dh_installlogrotate
53 #       dh_installemacsen
54 #       dh_installpam
55 #       dh_installmime
56         dh_installinit
57 #       dh_installcron
58 #       dh_installman
59 #       dh_installinfo
60         dh_undocumented
61         dh_installchangelogs
62         dh_link
63         dh_strip
64         dh_compress
65         dh_fixperms
66 #       dh_makeshlibs
67         dh_installdeb
68 #       dh_perl
69         dh_shlibdeps
70         dh_gencontrol
71         dh_md5sums
72         dh_builddeb
73
74 binary: binary-indep binary-arch
75 .PHONY: build clean binary-indep binary-arch binary install