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