3 # Uncomment this to turn on verbose mode.
6 DESTDIR=$(CURDIR)/debian/$(shell dh_listpackages|head -n 1)
12 perl Makefile.PL INSTALLDIRS=vendor
27 rm -f build-stamp test-stamp
29 if [ -e Makefile ]; then $(MAKE) distclean; fi
39 $(MAKE) install PREFIX=$(DESTDIR)/usr
40 [ ! -d $(DESTDIR)/usr/lib/perl5 ] || \
41 rmdir -p --ignore-fail-on-non-empty $(DESTDIR)/usr/lib/perl5
43 # Build architecture-independent files here.
45 # We have nothing to do by default.
47 # Build architecture-dependent files here.
48 binary-arch: build install
65 binary: binary-indep binary-arch
66 .PHONY: build clean binary-indep binary-arch binary install