r16537 - in /trunk/libscope-guard-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Mar 5 18:54:06 UTC 2008
Author: gregoa-guest
Date: Wed Mar 5 18:54:05 2008
New Revision: 16537
URL: http://svn.debian.org/wsvn/?sc=1&rev=16537
Log:
debian/rules: minor updates; don't install README any more (no
additional information).
Modified:
trunk/libscope-guard-perl/debian/changelog
trunk/libscope-guard-perl/debian/rules
Modified: trunk/libscope-guard-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libscope-guard-perl/debian/changelog?rev=16537&op=diff
==============================================================================
--- trunk/libscope-guard-perl/debian/changelog (original)
+++ trunk/libscope-guard-perl/debian/changelog Wed Mar 5 18:54:05 2008
@@ -4,10 +4,12 @@
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467853).
+ * debian/rules: minor updates; don't install README any more (no
+ additional information).
* debian/watch: use dist-based URL.
* debian/copyright: mention specific upstream source location.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 05 Mar 2008 19:51:04 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 05 Mar 2008 19:52:46 +0100
libscope-guard-perl (0.03-1) unstable; urgency=low
Modified: trunk/libscope-guard-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libscope-guard-perl/debian/rules?rev=16537&op=diff
==============================================================================
--- trunk/libscope-guard-perl/debian/rules (original)
+++ trunk/libscope-guard-perl/debian/rules Wed Mar 5 18:54:05 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,41 @@
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
+ # Add commands to clean up after the build process here
[ ! -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
More information about the Pkg-perl-cvs-commits
mailing list