r27233 - in /trunk/libpdf-api2-perl/debian: changelog compat control examples rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Nov 24 07:17:14 UTC 2008
Author: dmn
Date: Mon Nov 24 07:17:05 2008
New Revision: 27233
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27233
Log:
convert debian/rules to debhelper7; adjust compat and control accordingly,
add debian/examples
Added:
trunk/libpdf-api2-perl/debian/examples
Modified:
trunk/libpdf-api2-perl/debian/changelog
trunk/libpdf-api2-perl/debian/compat
trunk/libpdf-api2-perl/debian/control
trunk/libpdf-api2-perl/debian/rules
Modified: trunk/libpdf-api2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/changelog?rev=27233&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/changelog (original)
+++ trunk/libpdf-api2-perl/debian/changelog Mon Nov 24 07:17:05 2008
@@ -13,6 +13,8 @@
* move changes to =over/=back from fix_manpage_NAMEs.patch to
fix_unmatched_back.patch; fill the later with more fixes
refresh fix_typo_in_manpage.patch
+ * convert debian/rules to debhelper7; adjust compat and control accordingly,
+ add debian/examples
-- Damyan Ivanov <dmn at debian.org> Sun, 23 Nov 2008 12:41:16 +0200
Modified: trunk/libpdf-api2-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/compat?rev=27233&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/compat (original)
+++ trunk/libpdf-api2-perl/debian/compat Mon Nov 24 07:17:05 2008
@@ -1,1 +1,1 @@
-6
+7
Modified: trunk/libpdf-api2-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/control?rev=27233&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/control (original)
+++ trunk/libpdf-api2-perl/debian/control Mon Nov 24 07:17:05 2008
@@ -5,7 +5,7 @@
Uploaders: Gunnar Wolf <gwolf at debian.org>, Gustavo Franco <stratus at debian.org>,
gregor herrmann <gregor+debian at comodo.priv.at>, Carlo Segre <segre at debian.org>,
Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Damyan Ivanov <dmn at debian.org>
-Build-Depends: debhelper (>= 6), quilt
+Build-Depends: debhelper (>= 7), quilt
Build-Depends-Indep: perl (>=5.8.0), perl-modules, libcompress-zlib-perl
Standards-Version: 3.8.0
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libpdf-api2-perl/
Added: trunk/libpdf-api2-perl/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/examples?rev=27233&op=file
==============================================================================
--- trunk/libpdf-api2-perl/debian/examples (added)
+++ trunk/libpdf-api2-perl/debian/examples Mon Nov 24 07:17:05 2008
@@ -1,0 +1,1 @@
+examples/*
Modified: trunk/libpdf-api2-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/rules?rev=27233&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/rules (original)
+++ trunk/libpdf-api2-perl/debian/rules Mon Nov 24 07:17:05 2008
@@ -9,32 +9,23 @@
PACKAGE= libpdf-api2-perl
TMP = "$(CURDIR)/debian/$(PACKAGE)"
-config = INSTALLDIRS=vendor
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
- dh_testdir
- # Add here commands to compile the package.
- perl Makefile.PL $(config)
- $(MAKE)
- $(MAKE) test
+ dh build
touch $@
clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp
- if [ -f Makefile ]; then touch Makefile; $(MAKE) distclean; fi
- rm -f Makefile Makefile.old
+ dh $@
-install: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -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
+install: install-stamp
+install-stamp: build-stamp
+ dh install --before dh_installman
+ # remove blank/useless manpages
+ TMP=$(TMP) sh debian/remove-ignored-manpages.sh
+ dh_installman
+ dh install --after installman --before dh_link
# The fonts' license text is included in debian/copyright, other text
# files inside the fonts directory should be installed in
# /usr/share/doc/libpdf-api2-perl
@@ -45,26 +36,13 @@
# We'll use a symlink to ttf-dejavu-{core,extra} packages
# instead of duplicating them
rm -rf $(TMP)/usr/share/perl5/PDF/API2/fonts
-
- # remove blank/useless manpages
- TMP=$(TMP) sh debian/remove-ignored-manpages.sh
+ dh install --remaining
+
+ touch $@
binary-arch:;
binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples examples/*
- dh_installman
- dh_installchangelogs
- dh_link
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_perl
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh $@
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
More information about the Pkg-perl-cvs-commits
mailing list