r19160 - in /trunk/libdata-serializer-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri Apr 25 21:27:21 UTC 2008
Author: gregoa
Date: Fri Apr 25 21:27:20 2008
New Revision: 19160
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19160
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libdata-serializer-perl/debian/changelog
trunk/libdata-serializer-perl/debian/rules
Modified: trunk/libdata-serializer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-serializer-perl/debian/changelog?rev=19160&op=diff
==============================================================================
--- trunk/libdata-serializer-perl/debian/changelog (original)
+++ trunk/libdata-serializer-perl/debian/changelog Fri Apr 25 21:27:20 2008
@@ -3,8 +3,9 @@
* New upstream release.
* debian/copyright: update years of copyright for both upstream code and
packaging.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregoa at debian.org> Fri, 25 Apr 2008 23:18:25 +0200
+ -- gregor herrmann <gregoa at debian.org> Fri, 25 Apr 2008 23:23:33 +0200
libdata-serializer-perl (0.44-1) unstable; urgency=low
Modified: trunk/libdata-serializer-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-serializer-perl/debian/rules?rev=19160&op=diff
==============================================================================
--- trunk/libdata-serializer-perl/debian/rules (original)
+++ trunk/libdata-serializer-perl/debian/rules Fri Apr 25 21:27:20 2008
@@ -3,6 +3,9 @@
# 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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -11,47 +14,34 @@
# 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:
dh_testdir
-
- # Add commands to compile the package here
$(PERL) Build.PL installdirs=vendor
$(PERL) Build
$(PERL) Build test
-
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
-
dh_clean build-stamp install-stamp
- [ ! -f Build ] || $(PERL) Build distclean
-
+ [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
$(PERL) Build install destdir=$(TMP) create_packlist=0
- [ ! -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
@@ -66,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