#!/usr/bin/make -f build : build-stamp build-stamp : Makefile.PL perl Makefile.PL INSTALLDIRS=vendor $(MAKE) test touch build-stamp binary : binary-arch binary-indep binary-arch : binary-indep : build-stamp dh_testroot $(MAKE) PREFIX=$(CURDIR)/debian/libmaypole-perl/usr install dh_perl dh_installchangelogs Changes dh_installdocs dh_compress dh_fixperms dh_gencontrol dh_builddeb clean : if [ -f Makefile ]; then $(MAKE) clean; fi dh_clean Makefile Makefile.old build-stamp .PHONY : build binary binary-arch binary-dep clean