r17509 - in /trunk/libdevel-cycle-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sun Mar 16 01:00:50 UTC 2008
Author: gregoa-guest
Date: Sun Mar 16 01:00:49 2008
New Revision: 17509
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17509
Log:
debian/rules:
- update based on dh-make-perl's templates
- don't install README any more (short version of the POD documentation)
Modified:
trunk/libdevel-cycle-perl/debian/changelog
trunk/libdevel-cycle-perl/debian/rules
Modified: trunk/libdevel-cycle-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/changelog?rev=17509&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/changelog (original)
+++ trunk/libdevel-cycle-perl/debian/changelog Sun Mar 16 01:00:49 2008
@@ -4,11 +4,14 @@
field (source stanza); Homepage field (source stanza).
* debian/watch: use dist-based URL.
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467753).
+ * debian/rules:
+ - update based on dh-make-perl's templates
+ - don't install README any more (short version of the POD documentation)
* Set Standards-Version to 3.7.3 (no changes).
* Add /me to Uploaders.
* debian/copyright: use version-independent download URL.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 16 Mar 2008 01:55:57 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 16 Mar 2008 01:57:49 +0100
libdevel-cycle-perl (1.07-1) unstable; urgency=low
Modified: trunk/libdevel-cycle-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/rules?rev=17509&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/rules (original)
+++ trunk/libdevel-cycle-perl/debian/rules Sun Mar 16 01:00:49 2008
@@ -4,7 +4,13 @@
# 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
@@ -16,38 +22,40 @@
build: build-stamp
build-stamp:
dh_testdir
+
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
- touch build-stamp
+ $(MAKE)
+ $(MAKE) test
+
+ touch $@
clean:
dh_testdir
dh_testroot
+
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
- dh_clean build-stamp install-stamp
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(MAKE) test
+
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
[ ! -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
dh_testroot
-# dh_installexamples
- dh_installdocs README
+ dh_installdocs
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -55,8 +63,8 @@
dh_md5sums
dh_builddeb
-source diff:
+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