r15768 - in /trunk/libwww-google-calculator-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Feb 27 17:35:35 UTC 2008


Author: gregoa-guest
Date: Wed Feb 27 17:35:35 2008
New Revision: 15768

URL: http://svn.debian.org/wsvn/?sc=1&rev=15768
Log:
debian/rules:
  - don't install README anymore (just a text version of the POD
    documentation)
  - don't install empty ToDo anymore
  - remove OPTIMIZE, we don't compile anything
  - move tests to build-stamp target
  - move dh_clean before make distclean
  - let install-stamp target depend on build-stamp
  - use $@ for touching stamp files
  - remove unneeded/unused calls to dh_*

Modified:
    trunk/libwww-google-calculator-perl/debian/changelog
    trunk/libwww-google-calculator-perl/debian/rules

Modified: trunk/libwww-google-calculator-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libwww-google-calculator-perl/debian/changelog?rev=15768&op=diff
==============================================================================
--- trunk/libwww-google-calculator-perl/debian/changelog (original)
+++ trunk/libwww-google-calculator-perl/debian/changelog Wed Feb 27 17:35:35 2008
@@ -9,8 +9,18 @@
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 6.
   * debian/copyright: add upstream source location, change to new format.
+  * debian/rules:
+    - don't install README anymore (just a text version of the POD
+      documentation)
+    - don't install empty ToDo anymore
+    - remove OPTIMIZE, we don't compile anything
+    - move tests to build-stamp target
+    - move dh_clean before make distclean
+    - let install-stamp target depend on build-stamp
+    - use $@ for touching stamp files
+    - remove unneeded/unused calls to dh_*
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 18:24:47 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 18:31:42 +0100
 
 libwww-google-calculator-perl (0.04-2) unstable; urgency=low
 

Modified: trunk/libwww-google-calculator-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libwww-google-calculator-perl/debian/rules?rev=15768&op=diff
==============================================================================
--- trunk/libwww-google-calculator-perl/debian/rules (original)
+++ trunk/libwww-google-calculator-perl/debian/rules Wed Feb 27 17:35:35 2008
@@ -26,29 +26,26 @@
 build-stamp:
 	dh_testdir
 
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL installdirs=vendor
-	OPTIMIZE="-Wall -O2 -g" $(MAKE)
+	$(MAKE)
+	$(MAKE) test
 
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 
-	# Add commands to clean up after the build process here
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
 
-	dh_clean build-stamp install-stamp
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP)
 
 	# As this is a architecture independent package, we are not
@@ -56,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.
@@ -64,14 +61,9 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
-	dh_installdocs Todo README
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -79,7 +71,7 @@
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
+source diff:
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 binary: binary-indep binary-arch




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