r11238 - in /trunk/libtime-piece-perl/debian: changelog libtime-piece-perl.install rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sun Dec 16 15:47:25 UTC 2007
Author: gregoa-guest
Date: Sun Dec 16 15:47:25 2007
New Revision: 11238
URL: http://svn.debian.org/wsvn/?sc=1&rev=11238
Log:
debian/rules:
- build in $(CURDIR)/debian/$(PACKAGE) instead of debian/tmp
- drop call to dh_install and remove .install file
- move dh_clean before make realclean
- use PREFIX and DESTDIR for $(MAKE) install
- let install-stamp depend on build-stamp
- don't install empty /usr/share/perl5 directory
Removed:
trunk/libtime-piece-perl/debian/libtime-piece-perl.install
Modified:
trunk/libtime-piece-perl/debian/changelog
trunk/libtime-piece-perl/debian/rules
Modified: trunk/libtime-piece-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtime-piece-perl/debian/changelog?rev=11238&op=diff
==============================================================================
--- trunk/libtime-piece-perl/debian/changelog (original)
+++ trunk/libtime-piece-perl/debian/changelog Sun Dec 16 15:47:25 2007
@@ -7,6 +7,13 @@
* debian/watch: Use dist-based URL.
* Set Standards-Version to 3.7.3 (no further changes needed).
* Install README directly from debian/rules.
+ * debian/rules:
+ - build in $(CURDIR)/debian/$(PACKAGE) instead of debian/tmp
+ - drop call to dh_install and remove .install file
+ - move dh_clean before make realclean
+ - use PREFIX and DESTDIR for $(MAKE) install
+ - let install-stamp depend on build-stamp
+ - don't install empty /usr/share/perl5 directory
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:32:56 +0200
Modified: trunk/libtime-piece-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtime-piece-perl/debian/rules?rev=11238&op=diff
==============================================================================
--- trunk/libtime-piece-perl/debian/rules (original)
+++ trunk/libtime-piece-perl/debian/rules Sun Dec 16 15:47:25 2007
@@ -8,7 +8,8 @@
#export DH_VERBOSE=1
## ----------------------------------------------------------------------
-TMP_DIR = debian/tmp
+PACKAGE = $(shell dh_listpackages)
+TMP_DIR = $(CURDIR)/debian/$(PACKAGE)
## ----------------------------------------------------------------------
## targets
@@ -16,8 +17,8 @@
clean:
dh_testdir
dh_testroot
+ dh_clean
[ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
rm -f build-stamp install-stamp
build: build-stamp
@@ -29,12 +30,13 @@
touch build-stamp
install: install-stamp
-install-stamp: build
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
- $(MAKE) install PREFIX=$(CURDIR)/$(TMP_DIR)/usr
+ $(MAKE) install PREFIX=/usr DESTDIR=$(TMP_DIR)
+ rmdir --parents --ignore-fail-on-non-empty $(TMP_DIR)/usr/share/perl5
touch install-stamp
binary-indep:
@@ -42,7 +44,6 @@
binary-arch: build install
dh_testdir
dh_testroot
- dh_install --sourcedir=$(TMP_DIR)
dh_installdocs README
dh_installchangelogs Changes
dh_compress
More information about the Pkg-perl-cvs-commits
mailing list