r17156 - in /trunk/libtext-quoted-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Mon Mar 10 17:39:09 UTC 2008
Author: gregoa-guest
Date: Mon Mar 10 17:38:10 2008
New Revision: 17156
URL: http://svn.debian.org/wsvn/?sc=1&rev=17156
Log:
debian/rules: update based on dh-make-perl's templates.
Modified:
trunk/libtext-quoted-perl/debian/changelog
trunk/libtext-quoted-perl/debian/rules
Modified: trunk/libtext-quoted-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtext-quoted-perl/debian/changelog?rev=17156&op=diff
==============================================================================
--- trunk/libtext-quoted-perl/debian/changelog (original)
+++ trunk/libtext-quoted-perl/debian/changelog Mon Mar 10 17:38:10 2008
@@ -1,8 +1,9 @@
libtext-quoted-perl (2.05-2) UNRELEASED; urgency=low
* Add build dependency on libversion-perl (closes: #470274).
+ * debian/rules: update based on dh-make-perl's templates.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Mon, 10 Mar 2008 18:32:06 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Mon, 10 Mar 2008 18:36:13 +0100
libtext-quoted-perl (2.05-1) unstable; urgency=low
Modified: trunk/libtext-quoted-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtext-quoted-perl/debian/rules?rev=17156&op=diff
==============================================================================
--- trunk/libtext-quoted-perl/debian/rules (original)
+++ trunk/libtext-quoted-perl/debian/rules Mon Mar 10 17:38:10 2008
@@ -1,66 +1,70 @@
#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
PACKAGE=$(shell dh_listpackages)
+ifndef PERL
PERL = /usr/bin/perl
+endif
TMP =$(CURDIR)/debian/$(PACKAGE)
-configure: configure-stamp
-configure-stamp:
+build: build-stamp
+build-stamp:
dh_testdir
- $(PERL) Makefile.PL verbose INSTALLDIRS=vendor
-
- touch configure-stamp
-
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
-
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- dh_clean build-stamp configure-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-# Build architecture-independent files here.
-binary-arch: build install
-# We have nothing to do by default.
+ touch $@
-# Build architecture-dependent files here.
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs Changes
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
-
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list