r8747 - in /trunk/libmath-derivative-perl/debian: changelog rules
djpig at users.alioth.debian.org
djpig at users.alioth.debian.org
Thu Nov 1 17:40:15 UTC 2007
Author: djpig
Date: Thu Nov 1 17:40:15 2007
New Revision: 8747
URL: http://svn.debian.org/wsvn/?sc=1&rev=8747
Log:
debian/rules clean-up
Modified:
trunk/libmath-derivative-perl/debian/changelog
trunk/libmath-derivative-perl/debian/rules
Modified: trunk/libmath-derivative-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmath-derivative-perl/debian/changelog?rev=8747&op=diff
==============================================================================
--- trunk/libmath-derivative-perl/debian/changelog (original)
+++ trunk/libmath-derivative-perl/debian/changelog Thu Nov 1 17:40:15 2007
@@ -1,10 +1,20 @@
libmath-derivative-perl (0.01-6) UNRELEASED; urgency=low
+ [ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:30:26 +0200
+ [ Frank Lichtenheld ]
+ * debian/rules: Cleanup:
+ + move build and tests to build target
+ + make install depend on build
+ + introduce build-stamp
+ + split PREFIX into DESTDIR and PREFIX
+ + move dh_clean before $(MAKE) clean
+ + remove non-existant configure target from .PHONY
+
+ -- Frank Lichtenheld <djpig at debian.org> Thu, 01 Nov 2007 18:29:57 +0100
libmath-derivative-perl (0.01-5) unstable; urgency=low
Modified: trunk/libmath-derivative-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmath-derivative-perl/debian/rules?rev=8747&op=diff
==============================================================================
--- trunk/libmath-derivative-perl/debian/rules (original)
+++ trunk/libmath-derivative-perl/debian/rules Thu Nov 1 17:40:15 2007
@@ -8,22 +8,28 @@
perl -nle 'm/\S+\s+\((\S+)\)/ && print $$1')
debtmp := $(CURDIR)/debian/$(package)
-build:
+build: build-stamp
+build-stamp:
dh_testdir
perl Makefile.PL verbose INSTALLDIRS=vendor
+ $(MAKE)
+ $(MAKE) test
+
+ touch build-stamp
+
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp
[ ! -f Makefile ] || $(MAKE) clean
rm -f Makefile.old
- dh_clean
-install:
+install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
- $(MAKE) PREFIX=$(debtmp)/usr test install
+ $(MAKE) DESTDIR=$(debtmp) PREFIX=/usr install
rm -rf $(debtmp)/usr/lib
binary-indep: build install
@@ -43,4 +49,4 @@
binary-arch: build install
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