]> mj.ucw.cz Git - ywho.git/blob - debian/rules
Debianized...
[ywho.git] / debian / rules
1 #!/usr/bin/make -f
2 # Rules for building of ywho Debian/UCW Package
3 # (c) 1999 Martin Mares <mj@ucw.cz>
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 build: build-stamp
9 build-stamp:
10         dh_testdir
11         $(MAKE)
12         touch build-stamp
13
14 clean:
15         dh_testdir
16         dh_testroot
17         rm -f build-stamp
18         $(MAKE) clean
19         dh_clean
20
21 binary-indep: build
22
23 binary-arch: build
24         dh_testdir
25         dh_testroot
26         dh_clean -k
27         dh_installdirs etc sbin
28
29         $(MAKE) ROOT=`pwd`/debian/tmp install
30
31 #       dh_installdocs
32 #       dh_installexamples
33 #       dh_installmenu
34 #       dh_installinit
35 #       dh_installcron
36 #       dh_installmanpages
37         dh_undocumented nwho.1 nwhod.8 ywho.1
38         dh_installchangelogs
39         dh_strip
40 #       dh_compress
41         dh_fixperms
42 #       dh_suidregister
43         dh_installdeb
44         dh_shlibdeps
45         dh_gencontrol
46 #       dh_makeshlibs
47         dh_md5sums
48         dh_builddeb
49
50 binary: binary-indep binary-arch
51
52 .PHONY: build clean binary-indep binary-arch binary