r19542 - in /trunk/libcompress-raw-zlib-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue May 6 16:10:36 UTC 2008
Author: gregoa
Date: Tue May 6 16:10:35 2008
New Revision: 19542
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19542
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libcompress-raw-zlib-perl/debian/changelog
trunk/libcompress-raw-zlib-perl/debian/rules
Modified: trunk/libcompress-raw-zlib-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-zlib-perl/debian/changelog?rev=19542&op=diff
==============================================================================
--- trunk/libcompress-raw-zlib-perl/debian/changelog (original)
+++ trunk/libcompress-raw-zlib-perl/debian/changelog Tue May 6 16:10:35 2008
@@ -3,8 +3,9 @@
* debian/watch: use dist-based URL.
* New upstream release.
* debian/copyright: use dist-based source download URL.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregoa at debian.org> Tue, 06 May 2008 18:07:19 +0200
+ -- gregor herrmann <gregoa at debian.org> Tue, 06 May 2008 18:08:50 +0200
libcompress-raw-zlib-perl (2.009-1) unstable; urgency=low
Modified: trunk/libcompress-raw-zlib-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-zlib-perl/debian/rules?rev=19542&op=diff
==============================================================================
--- trunk/libcompress-raw-zlib-perl/debian/rules (original)
+++ trunk/libcompress-raw-zlib-perl/debian/rules Tue May 6 16:10:35 2008
@@ -4,16 +4,18 @@
# 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
-PERL = /usr/bin/perl
-endif
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimation by setting noopt in
+# Allow disabling build optimisation by setting noopt in
# $DEB_BUILD_OPTIONS
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -28,7 +30,7 @@
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
$(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
@@ -36,39 +38,37 @@
dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
- touch install-stamp
+ [ ! -d $(TMP)/usr/share/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/share/perl5
+ touch $@
# Build architecture-independent files here.
binary-indep: build install
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-dependent package
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
+ dh_installexamples examples/*
dh_installdocs README
- dh_installexamples examples/*
dh_installchangelogs Changes
+ dh_shlibdeps
dh_strip
+ dh_perl
dh_compress
dh_fixperms
- dh_makeshlibs
dh_installdeb
- dh_perl
- dh_shlibdeps
dh_gencontrol
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