r63731 - in /trunk/libfile-homedir-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Oct 15 06:32:36 UTC 2010


Author: dmn
Date: Fri Oct 15 06:32:22 2010
New Revision: 63731

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63731
Log:
rules: replaced with dh7-three-liner

Modified:
    trunk/libfile-homedir-perl/debian/changelog
    trunk/libfile-homedir-perl/debian/rules

Modified: trunk/libfile-homedir-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-homedir-perl/debian/changelog?rev=63731&op=diff
==============================================================================
--- trunk/libfile-homedir-perl/debian/changelog (original)
+++ trunk/libfile-homedir-perl/debian/changelog Fri Oct 15 06:32:22 2010
@@ -15,6 +15,7 @@
   * Add debian/watch.
   * copyright: rewrite, convert to machine-readable format
     + claim ultimate copyright over debian/* as the content there is re-created
+  * rules: replaced with dh7-three-liner
 
  -- Damyan Ivanov <dmn at debian.org>  Thu, 14 Oct 2010 22:23:08 +0300
 

Modified: trunk/libfile-homedir-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-homedir-perl/debian/rules?rev=63731&op=diff
==============================================================================
--- trunk/libfile-homedir-perl/debian/rules (original)
+++ trunk/libfile-homedir-perl/debian/rules Fri Oct 15 06:32:22 2010
@@ -1,63 +1,4 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-ifndef DESTDIR
-DESTDIR=..
-endif
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -rf $(TESTDIR)
-	rm -f build-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean
-
-install: 
-	dh_testdir
-	dh_testroot
-	dh_prep
-	$(MAKE) install PREFIX=$(TMP)/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl 
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb --destdir=$(DESTDIR)
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+	dh $@




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