r8749 - in /trunk/libmath-spline-perl/debian: changelog rules
djpig at users.alioth.debian.org
djpig at users.alioth.debian.org
Thu Nov 1 17:48:34 UTC 2007
Author: djpig
Date: Thu Nov 1 17:48:34 2007
New Revision: 8749
URL: http://svn.debian.org/wsvn/?sc=1&rev=8749
Log:
debian/rules cleanup
Modified:
trunk/libmath-spline-perl/debian/changelog
trunk/libmath-spline-perl/debian/rules
Modified: trunk/libmath-spline-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmath-spline-perl/debian/changelog?rev=8749&op=diff
==============================================================================
--- trunk/libmath-spline-perl/debian/changelog (original)
+++ trunk/libmath-spline-perl/debian/changelog Thu Nov 1 17:48:34 2007
@@ -1,10 +1,20 @@
libmath-spline-perl (0.01-5) 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:30 +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:47:55 +0100
libmath-spline-perl (0.01-4) unstable; urgency=low
Modified: trunk/libmath-spline-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmath-spline-perl/debian/rules?rev=8749&op=diff
==============================================================================
--- trunk/libmath-spline-perl/debian/rules (original)
+++ trunk/libmath-spline-perl/debian/rules Thu Nov 1 17:48:34 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