9 b := $(shell pwd)/debian/libapache-gallery-perl
11 arrange: arrange-stamp
12 arrange-stamp: install
17 binary-stamp: binary-indep binary-arch
21 binary-arch: binary-arch-stamp
22 binary-arch-stamp: arrange
24 touch binary-arch-stamp
26 binary-indep: binary-indep-stamp
27 binary-indep-stamp: arrange
32 dh_installchangelogs Changes
41 touch binary-indep-stamp
53 if [ -e Makefile ]; then $(MAKE) -i distclean; fi
54 dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp
55 rm -f htdocs/text-text.png htdocs/text-html.png
56 rm -rf debian/libapache-gallery-perl
62 $(PERL) Makefile.PL INSTALLDIRS=vendor
63 # deal with uuencoded icons
64 uudecode -o htdocs/text-txt.png debian/text-text.png.uuencode
65 uudecode -o htdocs/text-html.png debian/text-html.png.uuencode
68 install: install-stamp
74 $(MAKE) install PREFIX=$(CURDIR)/debian/libapache-gallery-perl/usr
75 cp -r $(CURDIR)/templates/* $(CURDIR)/debian/libapache-gallery-perl/usr/share/libapache-gallery-perl/templates
76 cp -r $(CURDIR)/htdocs/* $(CURDIR)/debian/libapache-gallery-perl/usr/share/libapache-gallery-perl/icons
79 .PHONY: binary binary-arch binary-indep clean