r20025 - in /trunk/libpar-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri May 16 14:34:21 UTC 2008
Author: gregoa
Date: Fri May 16 14:34:21 2008
New Revision: 20025
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20025
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libpar-perl/debian/changelog
trunk/libpar-perl/debian/rules
Modified: trunk/libpar-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-perl/debian/changelog?rev=20025&op=diff
==============================================================================
--- trunk/libpar-perl/debian/changelog (original)
+++ trunk/libpar-perl/debian/changelog Fri May 16 14:34:21 2008
@@ -2,6 +2,7 @@
* New upstream release.
* debian/copyright: update years of copyright.
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregoa at debian.org> Fri, 16 May 2008 16:26:45 +0200
Modified: trunk/libpar-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-perl/debian/rules?rev=20025&op=diff
==============================================================================
--- trunk/libpar-perl/debian/rules (original)
+++ trunk/libpar-perl/debian/rules Fri May 16 14:34:21 2008
@@ -1,18 +1,21 @@
#!/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
-
include /usr/share/quilt/quilt.make
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
@@ -26,7 +29,7 @@
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
install-stamp: build-stamp
@@ -34,15 +37,17 @@
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
touch $@
binary-arch:
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
dh_testroot
-# dh_installexamples
dh_installdocs README
dh_installchangelogs ChangeLog
dh_perl
@@ -53,8 +58,5 @@
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