]> mj.ucw.cz Git - ywho.git/blob - debian/rules
Updated packaging scripts for Debian Lenny
[ywho.git] / debian / rules
1 #!/usr/bin/make -f
2 # Rules for building of ywho Debian/UCW Package
3 # (c) 1999--2010 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_prep
27         dh_installdirs usr/bin
28
29         $(MAKE) ROOT=`pwd`/debian/ywho install
30
31         dh_installchangelogs
32         dh_strip
33 #       dh_compress
34         dh_fixperms
35         dh_installdeb
36         dh_shlibdeps
37         dh_gencontrol
38         dh_md5sums
39         dh_builddeb
40
41 binary: binary-indep binary-arch
42
43 .PHONY: build clean binary-indep binary-arch binary