r41001 - /trunk/libio-compress-perl/debian/rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Thu Jul 30 13:57:49 UTC 2009


Author: gregoa
Date: Thu Jul 30 13:57:43 2009
New Revision: 41001

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41001
Log:
debian/rules:
- minimize
- resurrect creation of manpage from FAQ.pod

Modified:
    trunk/libio-compress-perl/debian/rules

Modified: trunk/libio-compress-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-compress-perl/debian/rules?rev=41001&op=diff
==============================================================================
--- trunk/libio-compress-perl/debian/rules (original)
+++ trunk/libio-compress-perl/debian/rules Thu Jul 30 13:57:43 2009
@@ -1,38 +1,12 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh build --before auto_configure
-	dh_auto_configure -- INST_LIB='blib/lib'
-	dh build --remaining
-	touch $@
-
-clean:
+%:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- INST_LIB='blib/lib'
+
 override_dh_auto_install:
-	dh_auto_install DESTDIR=/tmp/buildd/libio-compress-perl-2.020/debian/libio-compress-perl PREFIX=/usr
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: install
-	dh $@
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+	dh_auto_install
+	pod2man --section 3pm --name "IO::Compress::FAQ" $(CURDIR)/pod/FAQ.pod \
+		> $(CURDIR)/debian/tmp/usr/share/man/man3/IO::Compress::FAQ.3pm




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