From: Ian Beckwith Date: Sat, 1 Mar 2008 00:52:41 +0000 (+0000) Subject: debian/rules: switch to rules.MakeMaker.noxs X-Git-Tag: 0.15-1~9 X-Git-Url: http://erislabs.net/gitweb/?p=liburi-template-perl.git;a=commitdiff_plain;h=18d486d8881ed105eea3cdd3c560c4f8558141fb debian/rules: switch to rules.MakeMaker.noxs --- diff --git a/debian/changelog b/debian/changelog index 603a2f0..d732ffd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +liburi-template-perl (0.13-1) unstable; urgency=low + + * New upstream version. + * debian/rules: use rules.MakeMaker.noxs to match new build system. + + -- Ian Beckwith Sat, 01 Mar 2008 00:51:16 +0000 + liburi-template-perl (0.06-1) unstable; urgency=low * Initial Release (Closes: #420648). diff --git a/debian/rules b/debian/rules index a3dd6b1..0db9c08 100644 --- a/debian/rules +++ b/debian/rules @@ -3,9 +3,6 @@ # packages. It was created by Marc Brockschmidt for # the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may # be used freely wherever it is useful. -# -# It was later modified by Jason Kohles -# http://www.jasonkohles.com/ to support Module::Build installed modules # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -26,42 +23,45 @@ build: build-stamp build-stamp: dh_testdir - $(PERL) Build.PL installdirs=vendor - OPTIMIZE="-Wall -O2 -g" $(PERL) Build + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test - touch build-stamp + touch $@ clean: dh_testdir dh_testroot - # Add commands to clean up after the build process here - [ ! -f Build ] || $(PERL) Build distclean - dh_clean build-stamp install-stamp -install: build install-stamp -install-stamp: + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp dh_testdir dh_testroot dh_clean -k - $(PERL) Build test - $(PERL) Build install destdir=$(TMP) + # Add commands to install the package into $(TMP) here + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 - touch install-stamp + touch $@ binary-arch: -# We have nothing to do by default. +# We have nothing to do here for an architecture-independent package binary-indep: build install dh_testdir dh_testroot - dh_installdocs - dh_installchangelogs + dh_installexamples + dh_installdocs README + dh_installchangelogs Changes dh_perl - dh_link - dh_strip dh_compress dh_fixperms dh_installdeb