3
# Uncomment this to turn on verbose mode.
11
archlib =`$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
12
config =INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/share/man/man1 INSTALLMAN3DIR=$(TMP)/usr/share/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)$(archlib) INSTALLBIN=$(TMP)/usr/bin INSTALLSCRIPT=$(TMP)/usr/bin
19
# Add here commands to compile the package.
20
$(PERL) Makefile.PL INSTALLDIRS=vendor
22
if ! grep ^install_vendor Makefile >/dev/null; then \
24
$(PERL) Makefile.PL $(config); \
26
$(MAKE) OPTIMIZE="-O2 -g -Wall"
35
# Add here commands to clean up after the build process.
44
# Add here commands to install the package into debian/tmp.
45
if grep ^install_vendor Makefile; then \
46
$(MAKE) install PREFIX=$(PWD)/debian/tmp/usr; \
48
$(MAKE) pure_install DESTDIR=$(PWD)/debian/tmp; \
52
# Build architecture-independent files here.
53
binary-indep: build install
56
dh_installdocs README TODO
57
# dh_installexamples examples/*
62
dh_installchangelogs Changes
75
# Build architecture-dependent files here.
76
binary-arch: build install
78
binary: binary-indep binary-arch
79
.PHONY: build clean binary-indep binary-arch binary install