r16791 - in /trunk/libdbd-xbase-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Fri Mar 7 23:44:24 UTC 2008
Author: gregoa-guest
Date: Fri Mar 7 23:44:23 2008
New Revision: 16791
URL: http://svn.debian.org/wsvn/?sc=1&rev=16791
Log:
debian/rules:
- update based on dh-make-perl's templates
- install upstream changelog
Modified:
trunk/libdbd-xbase-perl/debian/changelog
trunk/libdbd-xbase-perl/debian/rules
Modified: trunk/libdbd-xbase-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/changelog?rev=16791&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/debian/changelog (original)
+++ trunk/libdbd-xbase-perl/debian/changelog Fri Mar 7 23:44:23 2008
@@ -4,11 +4,14 @@
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467726).
+ * debian/rules:
+ - update based on dh-make-perl's templates
+ - install upstream changelog
* debian/watch: use dist-based URL.
* Set Standards-Version to 3.7.3 (no changes).
* debian/copyright: update years of copyright.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 08 Mar 2008 00:32:53 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 08 Mar 2008 00:37:37 +0100
libdbd-xbase-perl (1:0.241-4) unstable; urgency=low
Modified: trunk/libdbd-xbase-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/rules?rev=16791&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/debian/rules (original)
+++ trunk/libdbd-xbase-perl/debian/rules Fri Mar 7 23:44:23 2008
@@ -1,50 +1,49 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. GNU copyright 1997 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
+# 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=$(shell dh_listpackages)
+
ifndef PERL
- PERL = /usr/bin/perl
+PERL = /usr/bin/perl
endif
-TMP=`pwd`/debian/`dh_listpackages`
-config = INSTALLDIRS=vendor
+TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-build-stamp:
+build-stamp:
dh_testdir
- # Add here commands to compile the pacckage.
- $(PERL) Makefile.PL $(config)
+
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
pod2text driver_characteristics > debian/driver_characteristics
- touch build-stamp
+
+ touch $@
clean:
dh_testdir
dh_testroot
- dh_clean build-stamp debian/driver_characteristics
- # Add here commands to clean up after the build process.
- if [ -f Makefile ]; \
- then \
- $(MAKE) distclean; \
- fi
-binary-arch: build
-# We have nothing to do by default.
+ dh_clean build-stamp install-stamp debian/driver_characteristics
+ [ ! -f Makefile ] || $(MAKE) realclean
-binary-indep: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
- dh_clean
- dh_installdirs
- # Add here commands to install the files into debian/tmp
- #$(MAKE) PREFIX=debian/tmp install
- $(MAKE) install PREFIX=$(TMP)/usr
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we delete them from the deb:
+ 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
# Renaming dbfdump and indexdump to dbf_dump and index_dump to avoid
# filename clashes with shapelib (see bug #274792)
@@ -53,30 +52,28 @@
mv $(TMP)/usr/share/man/man1/dbfdump.1p $(TMP)/usr/share/man/man1/dbf_dump.1p
mv $(TMP)/usr/share/man/man1/indexdump.1p $(TMP)/usr/share/man/man1/index_dump.1p
sed -i -e 's/DUMP/_DUMP/' $(TMP)/usr/share/man/man1/*.1p
- #-find `pwd`/debian/tmp -type f -name .packlist | xargs -r rm -f
- #[ ! -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
- #-find `pwd`/debian/tmp -name perllocal.pod | xargs -r rm -f
+
+ touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installexamples eg/*
+ dh_installdocs ToDo README debian/driver_characteristics
+ dh_installchangelogs Changes
dh_perl
- # fix typo
- #-mv debian/subtsvars debian/substvars
- dh_installdocs ToDo README debian/driver_characteristics
- dh_installexamples eg/*
- # dh_installmenu
- # dh_installinit
- # dh_installcron
- dh_installman
- # dh_undocumented
- dh_installchangelogs
- #dh_strip
dh_compress
dh_fixperms
dh_installdeb
- dh_shlibdeps
dh_gencontrol
- #dh_makeshlibs
dh_md5sums
dh_builddeb
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
-
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list