r11316 - in /trunk/libmath-nocarry-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Dec 17 17:51:42 UTC 2007


Author: gregoa-guest
Date: Mon Dec 17 17:51:42 2007
New Revision: 11316

URL: http://svn.debian.org/wsvn/?sc=1&rev=11316
Log:
debian/rules:
  - drop OPTIMIZE, we don't compile anything
  - remove comments and empty lines
  - call dh_clean before make realclean
  - let install-stamp target depend on build-stamp (instead of install on
    build)
  - don't install README any more (doesn't provide useful information for
    users on Debian systems)
  - remove unneeded calls to dh_link and dh_strip

Modified:
    trunk/libmath-nocarry-perl/debian/changelog
    trunk/libmath-nocarry-perl/debian/rules

Modified: trunk/libmath-nocarry-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmath-nocarry-perl/debian/changelog?rev=11316&op=diff
==============================================================================
--- trunk/libmath-nocarry-perl/debian/changelog (original)
+++ trunk/libmath-nocarry-perl/debian/changelog Mon Dec 17 17:51:42 2007
@@ -7,6 +7,15 @@
   * debian/watch: use dist-based URL.
   * Set debhelper compatibility level to 5.
   * Set Standards-Version to 3.7.3 (no changes needed).
+  * debian/rules:
+    - drop OPTIMIZE, we don't compile anything
+    - remove comments and empty lines
+    - call dh_clean before make realclean
+    - let install-stamp target depend on build-stamp (instead of install on
+      build)
+    - don't install README any more (doesn't provide useful information for
+      users on Debian systems)
+    - remove unneeded calls to dh_link and dh_strip
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:30:27 +0200
 

Modified: trunk/libmath-nocarry-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmath-nocarry-perl/debian/rules?rev=11316&op=diff
==============================================================================
--- trunk/libmath-nocarry-perl/debian/rules (original)
+++ trunk/libmath-nocarry-perl/debian/rules Mon Dec 17 17:51:42 2007
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-export DH_VERBOSE=1
+#export DH_VERBOSE=1
 
 export PERL_MM_USE_DEFAULT=1
 
@@ -15,37 +15,24 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
-
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-
+	$(MAKE)
 	touch build-stamp
 
 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) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
 	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-
 	touch install-stamp
 
 binary-arch:
@@ -54,14 +41,9 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




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