r18676 - in /trunk/libcache-mmap-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Apr 16 15:32:39 UTC 2008
Author: gregoa-guest
Date: Wed Apr 16 15:32:38 2008
New Revision: 18676
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18676
Log:
Refresh debian/rules, no functional changes; unused dh_link removed.
Modified:
trunk/libcache-mmap-perl/debian/changelog
trunk/libcache-mmap-perl/debian/rules
Modified: trunk/libcache-mmap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-mmap-perl/debian/changelog?rev=18676&op=diff
==============================================================================
--- trunk/libcache-mmap-perl/debian/changelog (original)
+++ trunk/libcache-mmap-perl/debian/changelog Wed Apr 16 15:32:38 2008
@@ -3,8 +3,9 @@
* New upstream release.
* debian/copyright: adjust years of copyright.
* debian/watch: extended regexp for matching upstream releases.
+ * Refresh debian/rules, no functional changes; unused dh_link removed.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 16 Apr 2008 17:27:43 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 16 Apr 2008 17:30:23 +0200
libcache-mmap-perl (0.09-4) unstable; urgency=low
Modified: trunk/libcache-mmap-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-mmap-perl/debian/rules?rev=18676&op=diff
==============================================================================
--- trunk/libcache-mmap-perl/debian/rules (original)
+++ trunk/libcache-mmap-perl/debian/rules Wed Apr 16 15:32:38 2008
@@ -11,15 +11,11 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-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)))
@@ -31,20 +27,15 @@
build: build-stamp
build-stamp:
dh_testdir
-
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
$(MAKE) test
-
touch $@
clean:
dh_testdir
dh_testroot
-
dh_clean build-stamp install-stamp
-
[ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
@@ -52,20 +43,15 @@
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture dependent package, we are not
- # supposed to install stuff to /usr/share. MakeMaker creates
- # the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
+ [ ! -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
@@ -73,19 +59,15 @@
dh_testroot
dh_installdocs Todo
dh_installchangelogs Changes
- dh_link
+ dh_shlibdeps
dh_strip
+ dh_perl
dh_compress
dh_fixperms
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