r18925 - in /trunk/liblocale-subcountry-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Apr 20 17:39:36 UTC 2008
Author: gregoa
Date: Sun Apr 20 17:39:35 2008
New Revision: 18925
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18925
Log:
Refresh debian/rules, no functional changes; don't install README any
more (text version of the inline POD).
Modified:
trunk/liblocale-subcountry-perl/debian/changelog
trunk/liblocale-subcountry-perl/debian/rules
Modified: trunk/liblocale-subcountry-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-subcountry-perl/debian/changelog?rev=18925&op=diff
==============================================================================
--- trunk/liblocale-subcountry-perl/debian/changelog (original)
+++ trunk/liblocale-subcountry-perl/debian/changelog Sun Apr 20 17:39:35 2008
@@ -1,8 +1,10 @@
liblocale-subcountry-perl (1.41-1) UNRELEASED; urgency=low
* New upstream release.
+ * Refresh debian/rules, no functional changes; don't install README any
+ more (text version of the inline POD).
- -- gregor herrmann <gregoa at debian.org> Sun, 20 Apr 2008 19:34:41 +0200
+ -- gregor herrmann <gregoa at debian.org> Sun, 20 Apr 2008 19:39:03 +0200
liblocale-subcountry-perl (1.40-1) unstable; urgency=low
Modified: trunk/liblocale-subcountry-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-subcountry-perl/debian/rules?rev=18925&op=diff
==============================================================================
--- trunk/liblocale-subcountry-perl/debian/rules (original)
+++ trunk/liblocale-subcountry-perl/debian/rules Sun Apr 20 17:39:35 2008
@@ -1,58 +1,55 @@
#!/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.
-PACKAGE=$(shell dh_listpackages)
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
-ifndef PERL
-PERL = /usr/bin/perl
-endif
+# 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
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
-
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
-
- touch build-stamp
+ touch $@
clean:
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
dh_testdir
dh_testroot
dh_clean -k
-
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- #As this is a architecture independent package, we are not supposed to install
- #stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
- touch install-stamp
+ [ ! -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
dh_testroot
- dh_installdocs README
dh_installexamples examples/*
+ dh_installdocs
+ dh_installchangelogs Changes
dh_perl
- dh_installchangelogs Changes
dh_compress
dh_fixperms
dh_installdeb
@@ -60,8 +57,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