r17343 - in /trunk/librpc-xml-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Mar 12 20:51:18 UTC 2008
Author: gregoa-guest
Date: Wed Mar 12 20:51:17 2008
New Revision: 17343
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17343
Log:
debian/rules:
- create install-stamp target depending on build-stamp
- use $@ for touching stamp files
- use DESTDIR and PREFIX for make install
- add install to .PHONY target
- remove some whitespace and comments
Modified:
trunk/librpc-xml-perl/debian/changelog
trunk/librpc-xml-perl/debian/rules
Modified: trunk/librpc-xml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/changelog?rev=17343&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/changelog (original)
+++ trunk/librpc-xml-perl/debian/changelog Wed Mar 12 20:51:17 2008
@@ -1,6 +1,12 @@
librpc-xml-perl (0.59-3) UNRELEASED; urgency=low
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467854).
+ * debian/rules:
+ - create install-stamp target depending on build-stamp
+ - use $@ for touching stamp files
+ - use DESTDIR and PREFIX for make install
+ - add install to .PHONY target
+ - remove some whitespace and comments
* debian/watch: use dist-based URL.
* Set Standards-Version to 3.7.3 (no changes).
* debian/control: Suggest libapache2-mod-perl2 instead of
@@ -8,7 +14,7 @@
* debian/copyright: add upstream source location and update years of
copyright.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 12 Mar 2008 21:44:12 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 12 Mar 2008 21:47:09 +0100
librpc-xml-perl (0.59-2) unstable; urgency=low
Modified: trunk/librpc-xml-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/rules?rev=17343&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/rules (original)
+++ trunk/librpc-xml-perl/debian/rules Wed Mar 12 20:51:17 2008
@@ -22,8 +22,6 @@
build-stamp:
dh_testdir
-
- # Add here commands to compile the package.
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
@@ -32,31 +30,31 @@
# Generate the example code
$(MAKE) -C ex MAKEMETHOD="$(PERL) ../etc/make_method"
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
- # Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) realclean
$(MAKE) -C ex clean
rm -rf Makefile Makefile.old
- dh_clean
+ dh_clean build-stamp install-stamp
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(MAKE) install PREFIX=$(TMP)/usr
- #As this is a architecture independent package, we are not supposed to install
- #stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/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:
@@ -76,13 +74,13 @@
dh_installchangelogs ChangeLog
dh_compress
dh_fixperms
- dh_perl
+ dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb --destdir=$(DESTDIR)
-source diff:
+source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
-.PHONY: build clean binary-arch binary-indep binary
+.PHONY: build clean binary-arch binary-indep binary install
More information about the Pkg-perl-cvs-commits
mailing list