r11664 - in /trunk/liblocale-maketext-lexicon-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Dec 26 00:28:17 UTC 2007


Author: gregoa-guest
Date: Wed Dec 26 00:28:17 2007
New Revision: 11664

URL: http://svn.debian.org/wsvn/?sc=1&rev=11664
Log:
debian/rules: introduce install-stamp, make sure that patching occurs
  before configure, call dh_clean before make distclean, remove
  dh_installman.

Modified:
    trunk/liblocale-maketext-lexicon-perl/debian/changelog
    trunk/liblocale-maketext-lexicon-perl/debian/rules

Modified: trunk/liblocale-maketext-lexicon-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/liblocale-maketext-lexicon-perl/debian/changelog?rev=11664&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/debian/changelog (original)
+++ trunk/liblocale-maketext-lexicon-perl/debian/changelog Wed Dec 26 00:28:17 2007
@@ -9,6 +9,9 @@
   * Set Standards-Version to 3.7.3 (no changes needed).
   * debian/copyright: update years of copyright, indent verbatim copy of MIT
     license.
+  * debian/rules: introduce install-stamp, make sure that patching occurs
+    before configure, call dh_clean before make distclean, remove
+    dh_installman.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:30:07 +0200
 

Modified: trunk/liblocale-maketext-lexicon-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/liblocale-maketext-lexicon-perl/debian/rules?rev=11664&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/debian/rules (original)
+++ trunk/liblocale-maketext-lexicon-perl/debian/rules Wed Dec 26 00:28:17 2007
@@ -14,14 +14,14 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 configure: configure-stamp
-configure-stamp: 
+configure-stamp: $(DPATCH_STAMPFN)
 	dh_testdir
 
 	$(PERL) Makefile.PL verbose INSTALLDIRS=vendor
 
 	touch configure-stamp
 
-build: patch build-stamp
+build: build-stamp
 build-stamp: configure-stamp
 	dh_testdir
 
@@ -34,11 +34,12 @@
 	dh_testdir
 	dh_testroot 
 
+	dh_clean build-stamp configure-stamp install-stamp
+
 	[ ! -e Makefile ] || $(MAKE) distclean
 
-	dh_clean build-stamp configure-stamp
-
-install:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
@@ -47,13 +48,15 @@
 	$(MAKE) install PREFIX=$(TMP)/usr
 
 	# We really do not want xgettext.pl to be installed as there already
-        # is one provided by the gettext package. Also a perl library package
-        # probably should not install a script anyway. It is available as an
-        # example instead.
+	# is one provided by the gettext package. Also a perl library package
+	# probably should not install a script anyway. It is available as an
+	# example instead.
 
 	find $(TMP)/usr -type f -iname xgettext.* -print0 | xargs --no-run-if-empty --null rm -rf
 
 	find $(TMP)/usr -type d -empty -print0 | xargs --no-run-if-empty --null rmdir -p --ignore-fail-on-non-empty
+	
+	touch install-stamp
 
 # Build architecture-independent files here.
 binary-arch: build install
@@ -64,7 +67,6 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
-	dh_installman
 	dh_installchangelogs Changes
 	dh_installexamples script/xgettext.pl
 	dh_compress




More information about the Pkg-perl-cvs-commits mailing list