2 # Debian Customisations Copyright 2006 Ian Beckwith <ianb@nessie.mcc.ac.uk>
3 # Based on a template by Marc Brockschmidt <marc@dch-faq.de>
5 # Uncomment this to turn on verbose mode.
8 # If set to a true value then MakeMaker's prompt function will
9 # always return the default without waiting for user input.
10 export PERL_MM_USE_DEFAULT=1
12 PACKAGE=libwww-opensearch-perl
18 TMP =$(CURDIR)/debian/$(PACKAGE)
24 $(PERL) Makefile.PL INSTALLDIRS=vendor
33 [ ! -f Makefile ] || $(MAKE) realclean
35 dh_clean build-stamp install-stamp
37 install: build install-stamp
44 $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
46 [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
51 # We have nothing to do by default.
53 binary-indep: build install
57 dh_installchangelogs Changes
67 binary: binary-indep binary-arch
68 .PHONY: build clean binary-indep binary-arch binary