r16679 - in /trunk/libcgi-uploader-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Mar 7 07:28:39 UTC 2008


Author: dmn
Date: Fri Mar  7 07:28:38 2008
New Revision: 16679

URL: http://svn.debian.org/wsvn/?sc=1&rev=16679
Log:
* debian/rules: clean up
  + use "$@" when touching stamps
  + fix install(-stamp) dependencies
  + use $(TMP) instead of $(CURDIR)/debian/....
  + install is .PHONY too

Modified:
    trunk/libcgi-uploader-perl/debian/changelog
    trunk/libcgi-uploader-perl/debian/rules

Modified: trunk/libcgi-uploader-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcgi-uploader-perl/debian/changelog?rev=16679&op=diff
==============================================================================
--- trunk/libcgi-uploader-perl/debian/changelog (original)
+++ trunk/libcgi-uploader-perl/debian/changelog Fri Mar  7 07:28:38 2008
@@ -9,6 +9,11 @@
 
   [ Damyan Ivanov ]
   * debian/watch: use dist-based URL.
+  * debian/rules: clean up
+    + use "$@" when touching stamps
+    + fix install(-stamp) dependencies
+    + use $(TMP) instead of $(CURDIR)/debian/....
+    + install is .PHONY too
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:27:53 +0200
 

Modified: trunk/libcgi-uploader-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcgi-uploader-perl/debian/rules?rev=16679&op=diff
==============================================================================
--- trunk/libcgi-uploader-perl/debian/rules (original)
+++ trunk/libcgi-uploader-perl/debian/rules Fri Mar  7 07:28:38 2008
@@ -28,7 +28,7 @@
 	$(MAKE)
 	#$(MAKE) test  -- needs Test::DatabaseRow
 
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
@@ -39,8 +39,8 @@
 	# Add commands to clean up after the build process here
 	[ ! -f Makefile ] || $(MAKE) realclean
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
@@ -53,7 +53,7 @@
 	# the dirs, we delete them from the deb:
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
-	touch install-stamp
+	touch $@
 
 binary-arch:
 # We have nothing to do by default.
@@ -63,7 +63,7 @@
 	dh_testroot
 	dh_installexamples examples/* *.sql
 	# remove a zero length file.
-	-rm -f $(CURDIR)/debian/libcgi-uploader-perl/usr/share/doc/libcgi-uploader-perl/examples/friends_photos/uploads/.empty
+	-rm -f $(TMP)/usr/share/doc/libcgi-uploader-perl/examples/friends_photos/uploads/.empty
 	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
@@ -78,4 +78,4 @@
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install




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