r10774 - in /trunk/libparams-validate-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Mon Dec 3 19:44:33 UTC 2007
Author: gregoa-guest
Date: Mon Dec 3 19:44:33 2007
New Revision: 10774
URL: http://svn.debian.org/wsvn/?sc=1&rev=10774
Log:
debian/rules:
- introduce install-stamp and build-stamp and dependencies between
targets
- remove unneeded call to dh_link
- remove some empty or commented out lines
- explicitly remove empty directory /usr/share/perl5 instead of trying to find any
- move tests to build target
- use PREFIX and DESTDIR in call to make install
Modified:
trunk/libparams-validate-perl/debian/changelog
trunk/libparams-validate-perl/debian/rules
Modified: trunk/libparams-validate-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libparams-validate-perl/debian/changelog?rev=10774&op=diff
==============================================================================
--- trunk/libparams-validate-perl/debian/changelog (original)
+++ trunk/libparams-validate-perl/debian/changelog Mon Dec 3 19:44:33 2007
@@ -9,6 +9,14 @@
* debian/copyright: adapt years of copyright, upstream URL, reference to
licence files on Debian systems; add copyright and license information
for included ppport.h.
+ * debian/rules:
+ - introduce install-stamp and build-stamp and dependencies between
+ targets
+ - remove unneeded call to dh_link
+ - remove some empty or commented out lines
+ - explicitly remove empty directory /usr/share/perl5 instead of trying to find any
+ - move tests to build target
+ - use PREFIX and DESTDIR in call to make install
-- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 01 Dec 2007 18:55:12 +0100
Modified: trunk/libparams-validate-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libparams-validate-perl/debian/rules?rev=10774&op=diff
==============================================================================
--- trunk/libparams-validate-perl/debian/rules (original)
+++ trunk/libparams-validate-perl/debian/rules Mon Dec 3 19:44:33 2007
@@ -5,32 +5,31 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
-
PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+build: build-stamp
+build-stamp:
+ dh_testdir
+ perl Makefile.PL verbose INSTALLDIRS=vendor
+ $(MAKE) test
+ touch $@
-build:
- dh_testdir
- # Add here commands to compile the package.
- perl Makefile.PL verbose INSTALLDIRS=vendor
clean:
dh_testdir
dh_testroot
-
[ ! -f Makefile ] || $(MAKE) clean
rm -f Makefile.old
- dh_clean
+ dh_clean build-stamp install-stamp
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
-
- $(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
- -find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+ $(MAKE) PREFIX=/usr DESTDIR=$(CURDIR)/debian/$(PACKAGE) OPTIMIZE="-O2 -g -Wall" install
+ rmdir --parents --ignore-fail-on-non-empty $(CURDIR)/debian/$(PACKAGE)/usr/share/perl5
+ touch $@
binary-indep:;
binary-arch: build install;
@@ -39,7 +38,6 @@
dh_installdocs
dh_installman
dh_installchangelogs Changes
- dh_link
dh_strip
dh_compress
dh_fixperms
More information about the Pkg-perl-cvs-commits
mailing list