]> git.decadent.org.uk Git - maypole.git/blob - debian/rules
Started using quilt.
[maypole.git] / debian / rules
1 #!/usr/bin/make -f
2
3 include /usr/share/quilt/quilt.make
4
5 build : build-stamp
6
7 build-stamp : Makefile.PL $(QUILT_STAMPFN)
8         perl Makefile.PL INSTALLDIRS=vendor
9         $(MAKE) test
10         touch build-stamp
11
12 binary : binary-arch binary-indep
13
14 binary-arch :
15
16 binary-indep : build-stamp
17         dh_testroot
18         $(MAKE) PREFIX=$(CURDIR)/debian/libmaypole-perl/usr install
19         dh_perl
20         dh_installchangelogs Changes
21         dh_installdocs
22         dh_compress
23         dh_fixperms
24         dh_gencontrol
25         dh_md5sums
26         dh_builddeb
27
28 clean : unpatch
29         if [ -f Makefile ]; then $(MAKE) clean; fi
30         dh_clean Makefile Makefile.old build-stamp
31
32 .PHONY : build binary binary-arch binary-dep clean patch unpatch