r13623 - in /trunk/libvorbis-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sat Jan 26 18:27:15 UTC 2008
Author: gregoa-guest
Date: Sat Jan 26 18:27:15 2008
New Revision: 13623
URL: http://svn.debian.org/wsvn/?sc=1&rev=13623
Log:
debian/rules:
- remove configure/-stamp targets which had no functionality
- create install-stamp target depending on build-stamp
- use "$@" for touching stamp files
- move dh_clean before make distclean
- move test suite to build-stamp target
- remove several unneeded dh_* calls
- use PREFIX and DESTDIR for make install
Modified:
trunk/libvorbis-perl/debian/changelog
trunk/libvorbis-perl/debian/rules
Modified: trunk/libvorbis-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libvorbis-perl/debian/changelog?rev=13623&op=diff
==============================================================================
--- trunk/libvorbis-perl/debian/changelog (original)
+++ trunk/libvorbis-perl/debian/changelog Sat Jan 26 18:27:15 2008
@@ -10,11 +10,19 @@
* debian/watch: use dist-based URL.
* debian/control: fix Homepage.
* Remove debian/docs, install README directly from debian/rules.
+ * debian/rules:
+ - remove configure/-stamp targets which had no functionality
+ - create install-stamp target depending on build-stamp
+ - use "$@" for touching stamp files
+ - move dh_clean before make distclean
+ - move test suite to build-stamp target
+ - remove several unneeded dh_* calls
+ - use PREFIX and DESTDIR for make install
[ Frank Lichtenheld ]
* debian/rules: leave nostrip support to dh_strip
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 26 Jan 2008 19:17:12 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 26 Jan 2008 19:17:42 +0100
libvorbis-perl (0.05-5) unstable; urgency=high
Modified: trunk/libvorbis-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libvorbis-perl/debian/rules?rev=13623&op=diff
==============================================================================
--- trunk/libvorbis-perl/debian/rules (original)
+++ trunk/libvorbis-perl/debian/rules Sat Jan 26 18:27:15 2008
@@ -17,36 +17,29 @@
CFLAGS += -O2
endif
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- touch configure-stamp
-
build: build-stamp
-
-build-stamp: configure-stamp
+build-stamp:
dh_testdir
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=$(CFLAGS)
$(MAKE)
- touch build-stamp
+ $(MAKE) test
+ touch $@
clean:
dh_testdir
dh_testroot
- [ ! -f Makefile ] || $(MAKE) clean
- rm -f build-stamp configure-stamp Makefile.old
+ rm -f build-stamp install-stamp Makefile.old
dh_clean
+ [ ! -f Makefile ] || $(MAKE) distclean
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
-
- $(MAKE) test
# Install the package into debian/libvorbis-perl.
- $(MAKE) install PREFIX=$(TMP)/usr
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
# This module includes a program that depends on the Ao module, which
# is broken (does not build) - We remove it.
@@ -56,6 +49,8 @@
rmdir --ignore-fail-on-non-empty \
$(TMP)/usr/bin \
$(TMP)/usr/share/man/man1
+
+ touch $@
# Build architecture-independent files here.
binary-indep: build install
@@ -66,10 +61,7 @@
dh_testdir
dh_testroot
dh_installdocs README
- dh_installexamples
- dh_installman
dh_installchangelogs Changes
- dh_link
dh_strip
dh_compress
dh_fixperms
@@ -81,4 +73,4 @@
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list