r11140 - in /trunk/libsub-uplevel-perl/debian: changelog control rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Dec 12 10:52:02 UTC 2007
Author: dmn
Date: Wed Dec 12 10:52:01 2007
New Revision: 11140
URL: http://svn.debian.org/wsvn/?sc=1&rev=11140
Log:
* debian/rules:
+ switch to Build.PL
+ introduce also install-stamp
+ add dh_installexamples examples/*
+ drop unneeded dh_installdirs
+ drop removal of emppty usr/lib/perl5
* Added libmodule-build-perl to Build-Depends
Modified:
trunk/libsub-uplevel-perl/debian/changelog
trunk/libsub-uplevel-perl/debian/control
trunk/libsub-uplevel-perl/debian/rules
Modified: trunk/libsub-uplevel-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsub-uplevel-perl/debian/changelog?rev=11140&op=diff
==============================================================================
--- trunk/libsub-uplevel-perl/debian/changelog (original)
+++ trunk/libsub-uplevel-perl/debian/changelog Wed Dec 12 10:52:01 2007
@@ -1,5 +1,6 @@
libsub-uplevel-perl (0.18-1) unstable; urgency=low
+ [ gregor herrmann ]
* New upstream release.
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza).
@@ -17,6 +18,15 @@
- Introduce build-stamp target and dependencies between targets.
- Remove some comments and empty lines.
- Remove unneeded calls to dh_link and dh-strip.
+
+ [ Damyan Ivanov ]
+ * debian/rules:
+ + switch to Build.PL
+ + introduce also install-stamp
+ + add dh_installexamples examples/*
+ + drop unneeded dh_installdirs
+ + drop removal of emppty usr/lib/perl5
+ * Added libmodule-build-perl to Build-Depends
-- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 02 Dec 2007 17:28:23 +0100
Modified: trunk/libsub-uplevel-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libsub-uplevel-perl/debian/control?rev=11140&op=diff
==============================================================================
--- trunk/libsub-uplevel-perl/debian/control (original)
+++ trunk/libsub-uplevel-perl/debian/control Wed Dec 12 10:52:01 2007
@@ -4,7 +4,7 @@
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jay Bonci <jaybonci at debian.org>,
gregor herrmann <gregor+debian at comodo.priv.at>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), libmodule-build-perl
Build-Depends-Indep: perl (>= 5.6.0-16), libtest-pod-perl, libtest-pod-coverage-perl
Standards-Version: 3.7.2.2
Homepage: http://search.cpan.org/dist/Sub-Uplevel/
Modified: trunk/libsub-uplevel-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libsub-uplevel-perl/debian/rules?rev=11140&op=diff
==============================================================================
--- trunk/libsub-uplevel-perl/debian/rules (original)
+++ trunk/libsub-uplevel-perl/debian/rules Wed Dec 12 10:52:01 2007
@@ -5,39 +5,39 @@
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PACKAGE=$(shell dh_listpackages)
+TMP=$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
# Add here commands to compile the package.
- perl Makefile.PL verbose INSTALLDIRS=vendor
- AUTHOR_TESTING=1 $(MAKE) test
+ perl Build.PL installdirs=vendor verbose=1
+ ./Build
+ AUTHOR_TESTING=1 ./Build test
touch $@
clean:
dh_testdir
dh_testroot
- [ ! -f Makefile ] || $(MAKE) clean
- rm -f Makefile.old
- dh_clean build-stamp
+ dh_clean build-stamp install-stamp
+ [ ! -f Build ] || ./Build distclean
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
- $(MAKE) DESTDIR=$(CURDIR)/debian/$(PACKAGE) PREFIX=/usr install
- -find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+ ./Build destdir=$(TMP) install create_packlist=0
binary-arch:;
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
- dh_installman
+ dh_installexamples examples/*
dh_installchangelogs Changes
dh_compress
dh_fixperms
More information about the Pkg-perl-cvs-commits
mailing list