r15667 - in /trunk/libaudio-wav-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Tue Feb 26 20:48:33 UTC 2008
Author: gregoa-guest
Date: Tue Feb 26 20:48:32 2008
New Revision: 15667
URL: http://svn.debian.org/wsvn/?sc=1&rev=15667
Log:
debian/rules:
- remove DESTDIR and OPTIMIZE
- remove dh_installman
- don't install README, not additional info for users
- create install-stamp target
- move dh_clean before make distclean
Modified:
trunk/libaudio-wav-perl/debian/changelog
trunk/libaudio-wav-perl/debian/rules
Modified: trunk/libaudio-wav-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libaudio-wav-perl/debian/changelog?rev=15667&op=diff
==============================================================================
--- trunk/libaudio-wav-perl/debian/changelog (original)
+++ trunk/libaudio-wav-perl/debian/changelog Tue Feb 26 20:48:32 2008
@@ -11,8 +11,14 @@
* debian/watch: use dist-based URL.
* Set Standards-Version to 3.7.3 (no changes).
* Set debhelper compatibility level to 6.
+ * debian/rules:
+ - remove DESTDIR and OPTIMIZE
+ - remove dh_installman
+ - don't install README, not additional info for users
+ - create install-stamp target
+ - move dh_clean before make distclean
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 26 Feb 2008 21:44:06 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 26 Feb 2008 21:44:56 +0100
libaudio-wav-perl (0.06-2) unstable; urgency=low
Modified: trunk/libaudio-wav-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libaudio-wav-perl/debian/rules?rev=15667&op=diff
==============================================================================
--- trunk/libaudio-wav-perl/debian/rules (original)
+++ trunk/libaudio-wav-perl/debian/rules Tue Feb 26 20:48:32 2008
@@ -13,9 +13,6 @@
PERL = /usr/bin/perl
endif
-ifndef DESTDIR
-DESTDIR=..
-endif
TMP =`pwd`/debian/$(PACKAGE)
build: build-stamp
@@ -24,21 +21,22 @@
# Add here commands to compile the package.
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
+ $(MAKE)
$(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
rm -fr test_output
- [ ! -e Makefile ] || $(MAKE) distclean
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean build-stamp
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
@@ -46,6 +44,8 @@
$(MAKE) install PREFIX=$(TMP)/usr
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5/
+
+ touch $@
# Build architecture-dependent files here.
binary-arch: build install
@@ -55,16 +55,15 @@
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs README
- dh_installman
+ dh_installdocs
dh_installchangelogs Changes
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
+ dh_perl
dh_gencontrol
dh_md5sums
- dh_builddeb --destdir=$(DESTDIR)
+ dh_builddeb
source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
More information about the Pkg-perl-cvs-commits
mailing list