r22024 - in /trunk/libxml-node-perl: Makefile.PL debian/changelog debian/libxml-node-perl.docs debian/libxml-node-perl.examples debian/rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri Jun 20 22:17:39 UTC 2008
Author: gregoa
Date: Fri Jun 20 22:17:39 2008
New Revision: 22024
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22024
Log:
* Revert undocumented changes to upstream Makefile.PL; remove scripts from
/usr/share/perl5/XML in debian/rules.
* Remove debian/libxml-node-perl.*, install docs and examples from
debian/rules.
* Refresh debian/rules, no functional changes.
Removed:
trunk/libxml-node-perl/debian/libxml-node-perl.docs
trunk/libxml-node-perl/debian/libxml-node-perl.examples
Modified:
trunk/libxml-node-perl/Makefile.PL
trunk/libxml-node-perl/debian/changelog
trunk/libxml-node-perl/debian/rules
Modified: trunk/libxml-node-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-node-perl/Makefile.PL?rev=22024&op=diff
==============================================================================
--- trunk/libxml-node-perl/Makefile.PL (original)
+++ trunk/libxml-node-perl/Makefile.PL Fri Jun 20 22:17:39 2008
@@ -1,8 +1,7 @@
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
- NAME => 'XML::Node',
-# MAN3PODS => 'Node.pm',
- VERSION_FROM => 'Node.pm',
- PM => { 'Node.pm' => '$(INST_LIBDIR)/Node.pm', },
- );
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+ NAME => 'XML::Node',
+# MAN3PODS => 'Node.pm',
+ VERSION_FROM => 'Node.pm',
+ );
Modified: trunk/libxml-node-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-node-perl/debian/changelog?rev=22024&op=diff
==============================================================================
--- trunk/libxml-node-perl/debian/changelog (original)
+++ trunk/libxml-node-perl/debian/changelog Fri Jun 20 22:17:39 2008
@@ -5,6 +5,11 @@
* Set Maintainer to Debian Perl Group.
* Use dist-based URL in debian/watch.
* debian/rules: delete /usr/lib/perl5 only if it exists.
+ * Revert undocumented changes to upstream Makefile.PL; remove scripts from
+ /usr/share/perl5/XML in debian/rules.
+ * Remove debian/libxml-node-perl.*, install docs and examples from
+ debian/rules.
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 01 Dec 2007 18:55:39 +0100
Modified: trunk/libxml-node-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-node-perl/debian/rules?rev=22024&op=diff
==============================================================================
--- trunk/libxml-node-perl/debian/rules (original)
+++ trunk/libxml-node-perl/debian/rules Fri Jun 20 22:17:39 2008
@@ -1,54 +1,63 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# 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
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
+# 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
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE)
+ $(MAKE) test
+ touch $@
-build:
- dh_testdir
- # Add here commands to compile the package.
- perl Makefile.PL verbose INSTALLDIRS=vendor
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
- -$(MAKE) clean
- rm -f Makefile.old
- dh_clean
-
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
+ # Add commands to install the package into $(TMP) here
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ $(RM) $(TMP)/usr/share/perl5/XML/*.pl
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
- $(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
- [ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
+binary-arch:
+# We have nothing to do here for an architecture-independent package
-binary-arch:;
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs
- dh_installexamples
- dh_installman
+ dh_installexamples foo.xml orders.xml parse-foo.pl parse-orders.pl
+ dh_installdocs README
dh_installchangelogs Changes
- dh_link
- dh_strip
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list