r16376 - in /trunk/libnet-ident-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Mar 3 19:58:16 UTC 2008


Author: gregoa-guest
Date: Mon Mar  3 19:58:14 2008
New Revision: 16376

URL: http://svn.debian.org/wsvn/?sc=1&rev=16376
Log:
debian/rules:
  - remove OPTIMIZE, this package is arch:all
  - move dh_clean before make realclean and use it for removing stamp
    files
  - don't install README any more, just a short version of the POD
    documentation
  - use DESTDIR and PREFIX for make install
  - create install-stamp target
  - remove unneeded dh_* calls

Modified:
    trunk/libnet-ident-perl/debian/changelog
    trunk/libnet-ident-perl/debian/rules

Modified: trunk/libnet-ident-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-ident-perl/debian/changelog?rev=16376&op=diff
==============================================================================
--- trunk/libnet-ident-perl/debian/changelog (original)
+++ trunk/libnet-ident-perl/debian/changelog Mon Mar  3 19:58:14 2008
@@ -8,12 +8,21 @@
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
   * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467877).
+  * debian/rules:
+    - remove OPTIMIZE, this package is arch:all
+    - move dh_clean before make realclean and use it for removing stamp
+      files
+    - don't install README any more, just a short version of the POD
+      documentation
+    - use DESTDIR and PREFIX for make install
+    - create install-stamp target
+    - remove unneeded dh_* calls
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes).
   * debian/copyright: use version-agnostic download URL; mention "Copyright"
     in the line containing years and holder of copyright.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 03 Mar 2008 20:42:55 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 03 Mar 2008 20:52:37 +0100
 
 libnet-ident-perl (1.20-4) unstable; urgency=low
 

Modified: trunk/libnet-ident-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-ident-perl/debian/rules?rev=16376&op=diff
==============================================================================
--- trunk/libnet-ident-perl/debian/rules (original)
+++ trunk/libnet-ident-perl/debian/rules Mon Mar  3 19:58:14 2008
@@ -19,9 +19,8 @@
 build-stamp:
 	dh_testdir
 
-	# Add here commands to compile the package.
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
+	$(MAKE)
 	# Tests fail. We are just adopting the package, so, for now, I expect
 	# it to work. Users, please file bugs if it's b0rked!
 	# $(MAKE) test
@@ -31,35 +30,32 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
 
-	# Add here commands to clean up after the build process.
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
 
-	dh_clean
-
-install: 
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 
-	$(MAKE) install PREFIX=$(TMP)/usr
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+
+	touch install-stamp
 
 binary-arch:
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl 
+	dh_perl
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums




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