r13316 - in /trunk/libnet-bluetooth-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Jan 23 16:35:31 UTC 2008
Author: gregoa-guest
Date: Wed Jan 23 16:35:31 2008
New Revision: 13316
URL: http://svn.debian.org/wsvn/?sc=1&rev=13316
Log:
debian/rules:
- let build-stamp depend on $(DPATCH_STAMPFN) instead of patch-stamp
- move dh_clean before make distclean
- remove -stamp files with dh_clean
- create install-stamp target depending on build-stamp
- use DESTDIR and PREFIX for make install
Modified:
trunk/libnet-bluetooth-perl/debian/changelog
trunk/libnet-bluetooth-perl/debian/rules
Modified: trunk/libnet-bluetooth-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-bluetooth-perl/debian/changelog?rev=13316&op=diff
==============================================================================
--- trunk/libnet-bluetooth-perl/debian/changelog (original)
+++ trunk/libnet-bluetooth-perl/debian/changelog Wed Jan 23 16:35:31 2008
@@ -11,8 +11,14 @@
* debian/copyright:
- mention version-independent upstream source location
- extend reference to Perl license
+ * debian/rules:
+ - let build-stamp depend on $(DPATCH_STAMPFN) instead of patch-stamp
+ - move dh_clean before make distclean
+ - remove -stamp files with dh_clean
+ - create install-stamp target depending on build-stamp
+ - use DESTDIR and PREFIX for make install
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 23 Jan 2008 17:26:00 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 23 Jan 2008 17:28:40 +0100
libnet-bluetooth-perl (0.40-1) unstable; urgency=low
Modified: trunk/libnet-bluetooth-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-bluetooth-perl/debian/rules?rev=13316&op=diff
==============================================================================
--- trunk/libnet-bluetooth-perl/debian/rules (original)
+++ trunk/libnet-bluetooth-perl/debian/rules Wed Jan 23 16:35:31 2008
@@ -26,8 +26,7 @@
endif
build: build-stamp
-
-build-stamp: patch-stamp
+build-stamp: $(DPATCH_STAMPFN)
dh_testdir
$(PERL) Makefile.PL
$(MAKE) OPTIMIZE="$(CFLAGS)"
@@ -37,16 +36,17 @@
clean: unpatch
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(MAKE) install_vendor PREFIX=$(TMP)/usr
+ $(MAKE) install_vendor DESTDIR=$(TMP) PREFIX=/usr
[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
+ touch $@
binary-indep: build install
More information about the Pkg-perl-cvs-commits
mailing list