r9789 - in /trunk/libcrypt-des-perl/debian: changelog docs rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Nov 26 21:39:05 UTC 2007


Author: dmn
Date: Mon Nov 26 21:39:05 2007
New Revision: 9789

URL: http://svn.debian.org/wsvn/?sc=1&rev=9789
Log:
* debian/rules: cleanup
  + stop ignoring realclean errors
  + remove unused debhelper calls
  + move README from debian/docs to dh_installdocs
  + use proper DESTDIR and PREFIX when installing

Removed:
    trunk/libcrypt-des-perl/debian/docs
Modified:
    trunk/libcrypt-des-perl/debian/changelog
    trunk/libcrypt-des-perl/debian/rules

Modified: trunk/libcrypt-des-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcrypt-des-perl/debian/changelog?rev=9789&op=diff
==============================================================================
--- trunk/libcrypt-des-perl/debian/changelog (original)
+++ trunk/libcrypt-des-perl/debian/changelog Mon Nov 26 21:39:05 2007
@@ -17,6 +17,11 @@
     + add debian/compat
     + remove DH_COMPAT export from debian/rules
     + adjust build-depends accordingly
+  * debian/rules: cleanup
+    + stop ignoring realclean errors
+    + remove unused debhelper calls
+    + move README from debian/docs to dh_installdocs
+    + use proper DESTDIR and PREFIX when installing
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 07 Nov 2007 16:47:25 +0100
 

Modified: trunk/libcrypt-des-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcrypt-des-perl/debian/rules?rev=9789&op=diff
==============================================================================
--- trunk/libcrypt-des-perl/debian/rules (original)
+++ trunk/libcrypt-des-perl/debian/rules Mon Nov 26 21:39:05 2007
@@ -24,7 +24,7 @@
 	rm -f build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
+	[ ! -e Makefile ] || $(MAKE) realclean
 
 	dh_clean
 
@@ -32,10 +32,9 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 
 	# Add here commands to install the package into debian/libcrypt-des-perl.
-	$(MAKE) install PREFIX=$(shell pwd)/debian/libcrypt-des-perl/usr
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/libcrypt-des-perl PREFIX=/usr
 
 
 # Build architecture-independent files here.
@@ -46,25 +45,13 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-#	dh_installdebconf	
-	dh_installdocs
+	dh_installdocs		README
 	dh_installexamples	test.pl
 	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs 
-	dh_link
+	dh_installchangelogs
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_makeshlibs
 	dh_installdeb
 	dh_perl
 	dh_shlibdeps




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