r17798 - in /trunk/libpdf-create-perl/debian: changelog control libpdf-create-perl.examples rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Tue Mar 18 09:07:32 UTC 2008
Author: dmn
Date: Tue Mar 18 09:07:31 2008
New Revision: 17798
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17798
Log:
* debian/rules no uses plain debhelper. Drop cdbs from build-depends
+ rm debian/*.examples, add sample.pl and pdf-logo.* to dh_installexamples
invokation
Removed:
trunk/libpdf-create-perl/debian/libpdf-create-perl.examples
Modified:
trunk/libpdf-create-perl/debian/changelog
trunk/libpdf-create-perl/debian/control
trunk/libpdf-create-perl/debian/rules
Modified: trunk/libpdf-create-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-create-perl/debian/changelog?rev=17798&op=diff
==============================================================================
--- trunk/libpdf-create-perl/debian/changelog (original)
+++ trunk/libpdf-create-perl/debian/changelog Tue Mar 18 09:07:31 2008
@@ -18,6 +18,9 @@
+ convert to machine-readable format
+ note all files with different copyright statements in separate sections
+ add myself to packaging copyright holders
+ * debian/rules no uses plain debhelper. Drop cdbs from build-depends
+ + rm debian/*.examples, add sample.pl and pdf-logo.* to dh_installexamples
+ invokation
-- Damyan Ivanov <dmn at debian.org> Tue, 18 Mar 2008 10:42:41 +0200
Modified: trunk/libpdf-create-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-create-perl/debian/control?rev=17798&op=diff
==============================================================================
--- trunk/libpdf-create-perl/debian/control (original)
+++ trunk/libpdf-create-perl/debian/control Tue Mar 18 09:07:31 2008
@@ -1,7 +1,7 @@
Source: libpdf-create-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0), quilt, cdbs
+Build-Depends: debhelper (>= 5), quilt
Build-Depends-Indep: perl (>= 5.8.0-7)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Vincent Danjean <vdanjean at debian.org>, Joey Hess <joeyh at debian.org>,
Modified: trunk/libpdf-create-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-create-perl/debian/rules?rev=17798&op=diff
==============================================================================
--- trunk/libpdf-create-perl/debian/rules (original)
+++ trunk/libpdf-create-perl/debian/rules Tue Mar 18 09:07:31 2008
@@ -1,17 +1,64 @@
#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
+# 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.
-DEB_COMPRESS_EXCLUDE=sample\.pl
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# 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
-pre-build::
- $(RM) MANIFEST
-clean::
- $(RM) MANIFEST
-# $(RM) const-c.inc const-xs.inc
-install/libpdf-create-perl::
- [ ! -d $(CURDIR)/debian/libpdf-create-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libpdf-create-perl/usr/lib/perl5
- $(RM) $(CURDIR)/debian/libpdf-create-perl/usr/share/perl5/PDF/sample.pl
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ # Add commands to compile the package here
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE)
+ $(MAKE) test
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ dh_clean build-stamp install-stamp
+ # Add commands to clean up after the build process here
+ [ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ # Add commands to install the package into $(TMP) here
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installexamples sample.pl pdf-logo.*
+ dh_installdocs
+ dh_installchangelogs CHANGES
+ dh_perl
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list