r8748 - in /trunk/libmath-combinatorics-perl/debian: changelog rules
djpig at users.alioth.debian.org
djpig at users.alioth.debian.org
Thu Nov 1 17:46:02 UTC 2007
Author: djpig
Date: Thu Nov 1 17:46:02 2007
New Revision: 8748
URL: http://svn.debian.org/wsvn/?sc=1&rev=8748
Log:
debian/rules cleanup
Modified:
trunk/libmath-combinatorics-perl/debian/changelog
trunk/libmath-combinatorics-perl/debian/rules
Modified: trunk/libmath-combinatorics-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmath-combinatorics-perl/debian/changelog?rev=8748&op=diff
==============================================================================
--- trunk/libmath-combinatorics-perl/debian/changelog (original)
+++ trunk/libmath-combinatorics-perl/debian/changelog Thu Nov 1 17:46:02 2007
@@ -1,10 +1,20 @@
libmath-combinatorics-perl (0.09-4) 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:44:51 +0100
libmath-combinatorics-perl (0.09-3) unstable; urgency=low
Modified: trunk/libmath-combinatorics-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmath-combinatorics-perl/debian/rules?rev=8748&op=diff
==============================================================================
--- trunk/libmath-combinatorics-perl/debian/rules (original)
+++ trunk/libmath-combinatorics-perl/debian/rules Thu Nov 1 17:46:02 2007
@@ -8,23 +8,29 @@
perl -nle 'm/\S+\s+\((\S+)\)/ && print $$1')
debtmp := $(CURDIR)/debian/$(package)
-build:
+build: build-stamp
+build-stamp:
dh_testdir
# Add here commands to compile the package.
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
@@ -44,4 +50,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