X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=e763e3fb77d5af5b9d300792bc897ea935c688f3;hb=a32156dff7991eae19c12a840b9cbda64eae4954;hp=864a189c3d35dc62cd6a30379e17405c332cd7b8;hpb=d60e454d714d83fcb3c55cefd27f5b98525b2322;p=maypole.git diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 index 864a189..e763e3f --- a/debian/rules +++ b/debian/rules @@ -1,20 +1,21 @@ #!/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 @@ -23,6 +24,6 @@ binary-indep : build 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