r12876 - in /trunk/libfilesys-df-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Thu Jan 17 20:29:01 UTC 2008


Author: gregoa-guest
Date: Thu Jan 17 20:29:01 2008
New Revision: 12876

URL: http://svn.debian.org/wsvn/?sc=1&rev=12876
Log:
  - remove configure and configure-stamp targets, add install-stamp
    target, adapt inter-target dependencies accordingly.
  - use DESTDIR and PREFIX fpr install
  - don't ignore errors in clean target and move dh_clean before make
    distclean

Modified:
    trunk/libfilesys-df-perl/debian/changelog
    trunk/libfilesys-df-perl/debian/rules

Modified: trunk/libfilesys-df-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libfilesys-df-perl/debian/changelog?rev=12876&op=diff
==============================================================================
--- trunk/libfilesys-df-perl/debian/changelog (original)
+++ trunk/libfilesys-df-perl/debian/changelog Thu Jan 17 20:29:01 2008
@@ -8,11 +8,16 @@
   * debian/rules:
     - delete /usr/share/perl5 only if it exists
     - add call to dh_shlibdeps
+    - remove configure and configure-stamp targets, add install-stamp
+      target, adapt inter-target dependencies accordingly.
+    - use DESTDIR and PREFIX fpr install
+    - don't ignore errors in clean target and move dh_clean before make
+      distclean
   * Set Standards-Version to 3.7.3 (no changes needed).
   * Set debhelper compatibility level to 6.
   * debian/watch: use dist-based URL.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 17 Jan 2008 21:20:52 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 17 Jan 2008 21:22:11 +0100
 
 libfilesys-df-perl (0.92-2) unstable; urgency=low
 

Modified: trunk/libfilesys-df-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libfilesys-df-perl/debian/rules?rev=12876&op=diff
==============================================================================
--- trunk/libfilesys-df-perl/debian/rules (original)
+++ trunk/libfilesys-df-perl/debian/rules Thu Jan 17 20:29:01 2008
@@ -5,37 +5,31 @@
 
 PERL=/usr/bin/perl
 
-configure: configure-stamp
-configure-stamp:
+build: build-stamp
+build-stamp: 
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL
 	$(MAKE)
 	$(MAKE) test
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
-	-$(MAKE) clean
-	rm -f Makefile.old
-	dh_clean
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
 	$(MAKE) install \
-		INSTALLDIRS=vendor \
-		PREFIX=$(CURDIR)/debian/libfilesys-df-perl/usr
+		DESTDIR=$(CURDIR)/debian/libfilesys-df-perl \
+		PREFIX=/usr
 	[ ! -d $(CURDIR)/debian/libfilesys-df-perl/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libfilesys-df-perl/usr/share/perl5
+	touch $@
 
 # Build architecture-independent files here.
 binary-indep: build install




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