r22263 - in /trunk/libuser-simple-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jun 28 17:09:31 UTC 2008


Author: gregoa
Date: Sat Jun 28 17:09:31 2008
New Revision: 22263

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22263
Log:
Tweak build-stamp target in debian/rules; otherwise we get /usr/usr.

Modified:
    trunk/libuser-simple-perl/debian/changelog
    trunk/libuser-simple-perl/debian/rules

Modified: trunk/libuser-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuser-simple-perl/debian/changelog?rev=22263&op=diff
==============================================================================
--- trunk/libuser-simple-perl/debian/changelog (original)
+++ trunk/libuser-simple-perl/debian/changelog Sat Jun 28 17:09:31 2008
@@ -6,6 +6,7 @@
     POD test.
   * Update debian/rules to the new dh version 7 format; adjust
     debian/{control,compat}.
+  * Tweak build-stamp target in debian/rules; otherwise we get /usr/usr.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 28 Jun 2008 18:16:23 +0200
 

Modified: trunk/libuser-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuser-simple-perl/debian/rules?rev=22263&op=diff
==============================================================================
--- trunk/libuser-simple-perl/debian/rules (original)
+++ trunk/libuser-simple-perl/debian/rules Sat Jun 28 17:09:31 2008
@@ -1,8 +1,14 @@
 #!/usr/bin/make -f
+
+PERL   ?= /usr/bin/perl
 
 build: build-stamp
 build-stamp:
-	dh build
+	dh build --before dh_auto_configure
+	# we run Build.PL explicitly; otherwise bot Makefile.PL and
+	# Build.PL get run, and somehow we end up with /usr/usr ...
+	$(PERL) Build.PL installdirs=vendor
+	dh build --after dh_auto_configure
 	touch $@
 
 clean:




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