r13323 - in /trunk/libnet-cups-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Jan 23 16:58:48 UTC 2008
Author: gregoa-guest
Date: Wed Jan 23 16:58:48 2008
New Revision: 13323
URL: http://svn.debian.org/wsvn/?sc=1&rev=13323
Log:
debian/rules:
- always create new Makefile
- move dh_clean before make distclean and use it to remove -stamp files
- create install-stamp target depending on build-stamp
- use DESTDIR and PREFIX in install-stamp target
Modified:
trunk/libnet-cups-perl/debian/changelog
trunk/libnet-cups-perl/debian/rules
Modified: trunk/libnet-cups-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-cups-perl/debian/changelog?rev=13323&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/changelog (original)
+++ trunk/libnet-cups-perl/debian/changelog Wed Jan 23 16:58:48 2008
@@ -9,8 +9,13 @@
* debian/copyright:
- make reference to Perl license more verbose
- add copyright and license information for ppport.h
+ * debian/rules:
+ - always create new Makefile
+ - move dh_clean before make distclean and use it to remove -stamp files
+ - create install-stamp target depending on build-stamp
+ - use DESTDIR and PREFIX in install-stamp target
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 23 Jan 2008 17:48:03 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 23 Jan 2008 17:51:07 +0100
libnet-cups-perl (0.55-1) unstable; urgency=low
Modified: trunk/libnet-cups-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-cups-perl/debian/rules?rev=13323&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/rules (original)
+++ trunk/libnet-cups-perl/debian/rules Wed Jan 23 16:58:48 2008
@@ -25,10 +25,9 @@
build: build-stamp
-
build-stamp:
dh_testdir
- [ ! -f Makefile ] && $(PERL) Makefile.PL
+ $(PERL) Makefile.PL
$(MAKE) OPTIMIZE="$(CFLAGS)"
$(MAKE) test
touch $@
@@ -36,16 +35,15 @@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
-
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(MAKE) install_vendor PREFIX=$(TMP)/usr
+ $(MAKE) install_vendor DESTDIR=$(TMP) PREFIX=/usr
[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
# cleanup upstream .svn(s)
@@ -53,6 +51,8 @@
#find . -name ".svn" | xargs rm -rf
#
# Not used any more, uclean applied to the orig.tar.gz
+
+ touch $@
binary-indep:
# We have nothing to do
@@ -74,4 +74,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