r21131 - in /trunk/libsvg-graph-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jun 14 21:39:56 UTC 2008
Author: gregoa
Date: Sat Jun 14 21:39:56 2008
New Revision: 21131
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21131
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libsvg-graph-perl/debian/changelog
trunk/libsvg-graph-perl/debian/rules
Modified: trunk/libsvg-graph-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-graph-perl/debian/changelog?rev=21131&op=diff
==============================================================================
--- trunk/libsvg-graph-perl/debian/changelog (original)
+++ trunk/libsvg-graph-perl/debian/changelog Sat Jun 14 21:39:56 2008
@@ -16,6 +16,7 @@
* Set Standards-Version to 3.8.0 (no changes).
* Add /me to Uploaders.
* debian/control: wrap long Depends line.
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:32:02 +0200
Modified: trunk/libsvg-graph-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-graph-perl/debian/rules?rev=21131&op=diff
==============================================================================
--- trunk/libsvg-graph-perl/debian/rules (original)
+++ trunk/libsvg-graph-perl/debian/rules Sat Jun 14 21:39:56 2008
@@ -1,20 +1,24 @@
#!/usr/bin/make -f
-# -*- makefile -*-
+# 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_testdir
-
- # the VENDORARCHEXP and INSTALLVENDORARCH
- # variables are set to avoid the creation
- # of /usr/lib/perl5
- perl Makefile.PL \
- INSTALLDIRS=vendor \
- VENDORARCHEXP=/usr/share/perl5 \
- INSTALLVENDORARCH=/usr/share/perl5
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
touch $@
@@ -22,29 +26,32 @@
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean Makefile.old build-stamp
-
- [ ! -f Makefile ] || $(MAKE) distclean
-
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
- $(MAKE) install PREFIX=$(CURDIR)/debian/libsvg-graph-perl/usr
+binary-arch:
+# We have nothing to do here for an architecture-independent package
-
-binary-arch: build install
binary-indep: build install
dh_testdir
dh_testroot
+ dh_installexamples eg/*
+ dh_installdocs
dh_installchangelogs Changes
- dh_installdocs
- dh_installexamples eg/*
+ dh_perl
dh_compress
dh_fixperms
- dh_perl
dh_installdeb
dh_gencontrol
dh_md5sums
More information about the Pkg-perl-cvs-commits
mailing list