3
# Uncomment this to turn on verbose mode.
6
# If set to a true value then MakeMaker's prompt function will
7
# always return the default without waiting for user input.
8
export PERL_MM_USE_DEFAULT=1
10
PACKAGE=$(shell dh_listpackages)
16
TMP =$(CURDIR)/debian/$(PACKAGE)
22
$(PERL) Makefile.PL INSTALLDIRS=vendor
31
[ ! -f Makefile ] || $(MAKE) realclean
33
dh_clean build-stamp install-stamp
35
install: build install-stamp
42
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
44
# As this is a architecture independent package, we are not
45
# supposed to install stuff to /usr/lib. MakeMaker creates
46
# the dirs, we delete them from the deb:
47
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
52
# We have nothing to do by default.
54
binary-indep: build install
61
dh_installchangelogs Changes
73
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
75
binary: binary-indep binary-arch
76
.PHONY: build clean binary-indep binary-arch binary