r11362 - in /trunk/libole-storage-lite-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Dec 17 21:25:36 UTC 2007


Author: gregoa-guest
Date: Mon Dec 17 21:25:36 2007
New Revision: 11362

URL: http://svn.debian.org/wsvn/?sc=1&rev=11362
Log:
debian/rules:
  - remove unused variable version
  - use dh_listpackages and $(CURDIR) to construct the build directory
  - let install-stamp depend on build-stamp
  - use DESTDIR and PREFIX on make install
  - remove commented out dh_* calls
  - don't install README (only perldoc output)
  - don't compress examples

Modified:
    trunk/libole-storage-lite-perl/debian/changelog
    trunk/libole-storage-lite-perl/debian/rules

Modified: trunk/libole-storage-lite-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libole-storage-lite-perl/debian/changelog?rev=11362&op=diff
==============================================================================
--- trunk/libole-storage-lite-perl/debian/changelog (original)
+++ trunk/libole-storage-lite-perl/debian/changelog Mon Dec 17 21:25:36 2007
@@ -6,6 +6,14 @@
     Vcs-Svn fields.
   * Set Standards-Version to 3.7.3 (no changes needed).
   * debian/watch: use a dist-based URL.
+  * debian/rules:
+    - remove unused variable version
+    - use dh_listpackages and $(CURDIR) to construct the build directory
+    - let install-stamp depend on build-stamp
+    - use DESTDIR and PREFIX on make install
+    - remove commented out dh_* calls
+    - don't install README (only perldoc output)
+    - don't compress examples
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:31:24 +0200
 

Modified: trunk/libole-storage-lite-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libole-storage-lite-perl/debian/rules?rev=11362&op=diff
==============================================================================
--- trunk/libole-storage-lite-perl/debian/rules (original)
+++ trunk/libole-storage-lite-perl/debian/rules Mon Dec 17 21:25:36 2007
@@ -3,10 +3,8 @@
 # debian/rules file for the Debian Linux libole-storage-lite-perl package
 # Copyright (C) 2001,2002 by Dirk Eddelbuettel <edd at debian.org>
 
-package	:= $(shell grep Package debian/control | sed 's/^Package: //')
-version	:= $(shell head -1 debian/changelog | \
-			perl -nle 'm/\S+\s+\((\S+)\)/ && print $$1')
-debtmp	:= $(shell pwd)/debian/$(package)
+package	:= $(shell dh_listpackages)
+debtmp	:= $(CURDIR)/debian/$(package)
 
 #export DH_VERBOSE=1
 
@@ -26,12 +24,12 @@
 	[ ! -f Makefile ] || $(MAKE) distclean
 
 install: install-stamp
-install-stamp:
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	$(MAKE) install PREFIX=$(debtmp)/usr
+	$(MAKE) install PREFIX=/usr DESTDIR=$(debtmp)
 	# 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:
@@ -42,17 +40,11 @@
 	dh_testdir
 	dh_testroot
 	dh_perl	
-	dh_installdocs		README
+	dh_installdocs
 	dh_installexamples	sample/*
-#	dh_installmenu
-#	dh_installinit
-#	dh_installcron
-#	dh_installmanpages
-#	dh_undocumented
 	dh_installchangelogs	Changes
-	dh_compress
+	dh_compress -Xexamples
 	dh_fixperms
-#	dh_suidregister
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums




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