3 include /usr/share/quilt/quilt.make
7 build-stamp : Makefile.PL $(QUILT_STAMPFN)
8 perl Makefile.PL INSTALLDIRS=vendor
12 binary : binary-arch binary-indep
16 binary-indep : build-stamp
18 $(MAKE) PREFIX=$(CURDIR)/debian/libmaypole-perl/usr install
20 dh_installchangelogs Changes
22 mv debian/libmaypole-perl/usr/share/perl5/Maypole/templates \
23 debian/libmaypole-perl/usr/share/doc/libmaypole-perl/templates
24 mkdir debian/libmaypole-perl/usr/share/doc/libmaypole-perl/examples/templates
25 mv debian/libmaypole-perl/usr/share/doc/libmaypole-perl/templates/beer \
26 debian/libmaypole-perl/usr/share/doc/libmaypole-perl/examples/templates/custom
27 ln -s ../../templates/factory \
28 debian/libmaypole-perl/usr/share/doc/libmaypole-perl/examples/templates/factory
29 dh_compress -X/examples/ -X/templates/
36 if [ -f Makefile ]; then $(MAKE) clean; fi
37 dh_clean Makefile Makefile.old build-stamp
39 .PHONY : build binary binary-arch binary-dep clean patch unpatch