r10715 - in /trunk/libsub-uplevel-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Dec 2 16:26:04 UTC 2007


Author: gregoa-guest
Date: Sun Dec  2 16:26:04 2007
New Revision: 10715

URL: http://svn.debian.org/wsvn/?sc=1&rev=10715
Log:
  - Introduce build-stamp target and dependencies between targets.
  - Remove some comments and empty lines.

Modified:
    trunk/libsub-uplevel-perl/debian/changelog
    trunk/libsub-uplevel-perl/debian/rules

Modified: trunk/libsub-uplevel-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsub-uplevel-perl/debian/changelog?rev=10715&op=diff
==============================================================================
--- trunk/libsub-uplevel-perl/debian/changelog (original)
+++ trunk/libsub-uplevel-perl/debian/changelog Sun Dec  2 16:26:04 2007
@@ -12,6 +12,8 @@
     - Move tests to build target and enable additional tests.
     - Remove variable OPTMIMIZE, we don't compile anything.
     - Use DESTDIR and PREFIX for $(MAKE) install.
+    - Introduce build-stamp target and dependencies between targets.
+    - Remove some comments and empty lines.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 01 Dec 2007 18:55:16 +0100
 

Modified: trunk/libsub-uplevel-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libsub-uplevel-perl/debian/rules?rev=10715&op=diff
==============================================================================
--- trunk/libsub-uplevel-perl/debian/rules (original)
+++ trunk/libsub-uplevel-perl/debian/rules Sun Dec  2 16:26:04 2007
@@ -5,17 +5,15 @@
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
 
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
-
 PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
 
-
-build:
+build: build-stamp
+build-stamp:
 	dh_testdir
 	# Add here commands to compile the package.
 	perl Makefile.PL verbose INSTALLDIRS=vendor
 	AUTHOR_TESTING=1 $(MAKE) test
+	touch $@
 	
 clean:
 	dh_testdir
@@ -23,9 +21,9 @@
 
 	[ ! -f Makefile ] || $(MAKE) clean
 	rm -f Makefile.old
-	dh_clean
+	dh_clean build-stamp
 
-install:
+install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k




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