r23428 - in /trunk/libdata-visitor-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jul 20 12:51:46 UTC 2008
Author: gregoa
Date: Sun Jul 20 12:51:43 2008
New Revision: 23428
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23428
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libdata-visitor-perl/debian/changelog
trunk/libdata-visitor-perl/debian/rules
Modified: trunk/libdata-visitor-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-visitor-perl/debian/changelog?rev=23428&op=diff
==============================================================================
--- trunk/libdata-visitor-perl/debian/changelog (original)
+++ trunk/libdata-visitor-perl/debian/changelog Sun Jul 20 12:51:43 2008
@@ -3,6 +3,7 @@
* New upstream release.
* debian/control: change my email address.
* Set Standards-Version to 3.8.0 (no changes).
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregoa at debian.org> Sun, 20 Jul 2008 14:46:16 +0200
Modified: trunk/libdata-visitor-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-visitor-perl/debian/rules?rev=23428&op=diff
==============================================================================
--- trunk/libdata-visitor-perl/debian/rules (original)
+++ trunk/libdata-visitor-perl/debian/rules Sun Jul 20 12:51:43 2008
@@ -1,16 +1,19 @@
#!/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)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
@@ -18,25 +21,27 @@
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
- touch @
+ touch $@
clean:
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
- if [ -r Makefile ]; then $(MAKE) distclean; fi;
+ [ ! -f Makefile ] || $(MAKE) realclean
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
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
- touch @
+ [ ! -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 by default.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
@@ -51,8 +56,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