r12809 - in /trunk/libastro-fits-cfitsio-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Jan 16 11:43:41 UTC 2008


Author: dmn
Date: Wed Jan 16 11:43:41 2008
New Revision: 12809

URL: http://svn.debian.org/wsvn/?sc=1&rev=12809
Log:
* debian/rules:
  + add stamps and fix target dependencies
  + drop unused dh_installdirs and dh_link
  + use "$@" when touching stamps

Modified:
    trunk/libastro-fits-cfitsio-perl/debian/changelog
    trunk/libastro-fits-cfitsio-perl/debian/rules

Modified: trunk/libastro-fits-cfitsio-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libastro-fits-cfitsio-perl/debian/changelog?rev=12809&op=diff
==============================================================================
--- trunk/libastro-fits-cfitsio-perl/debian/changelog (original)
+++ trunk/libastro-fits-cfitsio-perl/debian/changelog Wed Jan 16 11:43:41 2008
@@ -1,9 +1,16 @@
 libastro-fits-cfitsio-perl (1.05-2) 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.
   * debian/rules: delete /usr/share/perl5 only if it exists.
+
+  [ Damyan Ivanov ]
+  * debian/rules:
+    + add stamps and fix target dependencies
+    + drop unused dh_installdirs and dh_link
+    + use "$@" when touching stamps
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:27:17 +0200
 

Modified: trunk/libastro-fits-cfitsio-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libastro-fits-cfitsio-perl/debian/rules?rev=12809&op=diff
==============================================================================
--- trunk/libastro-fits-cfitsio-perl/debian/rules (original)
+++ trunk/libastro-fits-cfitsio-perl/debian/rules Wed Jan 16 11:43:41 2008
@@ -33,38 +33,40 @@
 	dh_testdir
 	# Add here commands to configure the package.
 	$(PERL) Makefile.PL INSTALLDIRS=vendor INC='-I/usr/include' LIBS='-L/usr/lib -lcfitsio'
-	touch configure-stamp
+	touch $@
 
 build: build-stamp
-build-stamp: configure
+build-stamp: configure-stamp
 	dh_testdir
 
 	# Add here commands to compile the package.
 	$(MAKE) CC=gcc OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 	$(MAKE) test
 
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
+	rm -f install-stamp build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
 	[ ! -f Makefile ] || $(MAKE) distclean
 
 	dh_clean
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 
 	# Add here commands to install the package
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/share/perl5
+	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
+
+	touch $@
 
 # Build architecture-dependent files here.
 binary-indep: build install
@@ -78,7 +80,6 @@
 	dh_installdocs README NOTES TODO announce
 	dh_installexamples examples/*
 	dh_installchangelogs ChangeLog
-	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms




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