r16965 - in /trunk/libmail-gnupg-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sat Mar 8 21:52:41 UTC 2008
Author: gregoa-guest
Date: Sat Mar 8 21:52:40 2008
New Revision: 16965
URL: http://svn.debian.org/wsvn/?sc=1&rev=16965
Log:
debian/rules: update based on dh-make-perl's templates.
Modified:
trunk/libmail-gnupg-perl/debian/changelog
trunk/libmail-gnupg-perl/debian/rules
Modified: trunk/libmail-gnupg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmail-gnupg-perl/debian/changelog?rev=16965&op=diff
==============================================================================
--- trunk/libmail-gnupg-perl/debian/changelog (original)
+++ trunk/libmail-gnupg-perl/debian/changelog Sat Mar 8 21:52:40 2008
@@ -4,10 +4,11 @@
field (source stanza); Homepage field (source stanza). Removed:
Homepage pseudo-field (Description); XS-Vcs-Svn fields.
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467895).
+ * debian/rules: update based on dh-make-perl's templates.
* debian/watch: use dist-based URL.
* Set Standards-Version to 3.7.3 (no changes).
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 08 Mar 2008 22:48:05 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 08 Mar 2008 22:50:42 +0100
libmail-gnupg-perl (0.10-2) unstable; urgency=low
Modified: trunk/libmail-gnupg-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmail-gnupg-perl/debian/rules?rev=16965&op=diff
==============================================================================
--- trunk/libmail-gnupg-perl/debian/rules (original)
+++ trunk/libmail-gnupg-perl/debian/rules Sat Mar 8 21:52:40 2008
@@ -6,6 +6,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
# If set to a true value then MakeMaker's prompt function will
# always return the default without waiting for user input.
@@ -17,48 +19,39 @@
PERL = /usr/bin/perl
endif
-include /usr/share/quilt/quilt.make
-
TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-build-stamp: patch
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
- # Compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
+ $(MAKE)
+ $(MAKE) test
- touch build-stamp
+ touch $@
clean: unpatch
dh_testdir
dh_testroot
- # Clean up after the build process here
+ 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
- # Install the package into debian/$PACKAGE_NAME here
- $(MAKE) test
$(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
+ touch $@
binary-arch:
-# We have nothing to do.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
@@ -66,8 +59,6 @@
dh_installdocs README
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -75,5 +66,8 @@
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