X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=b263d502c30d41a5236bf8b8ccc1da849f273277;hb=1fc45e8059ce1418fa5ad3cd75549fee26e18c06;hp=864a189c3d35dc62cd6a30379e17405c332cd7b8;hpb=d60e454d714d83fcb3c55cefd27f5b98525b2322;p=maypole.git diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 index 864a189..b263d50 --- a/debian/rules +++ b/debian/rules @@ -1,28 +1,30 @@ #!/usr/bin/make -f -build : +build : build-stamp + +build-stamp : Makefile.PL perl Makefile.PL INSTALLDIRS=vendor - $(MAKE) + $(MAKE) test + touch build-stamp binary : binary-arch binary-indep binary-arch : -binary-indep : build +binary-indep : build-stamp dh_testroot - mkdir -p -m755 debian/libmaypole-perl/usr/share/perl5 $(MAKE) PREFIX=$(CURDIR)/debian/libmaypole-perl/usr install dh_perl - mkdir -p -m755 debian/libmaypole-perl/usr/share/doc/libmaypole-perl - dh_installchangelogs + dh_installchangelogs Changes dh_installdocs dh_compress dh_fixperms dh_gencontrol + dh_md5sums dh_builddeb clean : if [ -f Makefile ]; then $(MAKE) clean; fi - dh_clean Makefile + dh_clean Makefile Makefile.old build-stamp .PHONY : build binary binary-arch binary-dep clean