r16756 - in /trunk/libcpan-distnameinfo-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Fri Mar 7 19:19:01 UTC 2008
Author: gregoa-guest
Date: Fri Mar 7 19:19:01 2008
New Revision: 16756
URL: http://svn.debian.org/wsvn/?sc=1&rev=16756
Log:
debian/rules:
- update with dh-make-perl's help
- don't install README any more (text version of the POD documentation)
- enable tests
Modified:
trunk/libcpan-distnameinfo-perl/debian/changelog
trunk/libcpan-distnameinfo-perl/debian/rules
Modified: trunk/libcpan-distnameinfo-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcpan-distnameinfo-perl/debian/changelog?rev=16756&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/debian/changelog (original)
+++ trunk/libcpan-distnameinfo-perl/debian/changelog Fri Mar 7 19:19:01 2008
@@ -12,8 +12,12 @@
* Set Standards-Version to 3.7.3 (no changes).
* Set debhelper compatibility level to 5.
* debian/copyright: add upstream source location.
+ * debian/rules:
+ - update with dh-make-perl's help
+ - don't install README any more (text version of the POD documentation)
+ - enable tests
- -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 07 Mar 2008 20:14:07 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 07 Mar 2008 20:16:49 +0100
libcpan-distnameinfo-perl (0.06-1) unstable; urgency=low
Modified: trunk/libcpan-distnameinfo-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcpan-distnameinfo-perl/debian/rules?rev=16756&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/debian/rules (original)
+++ trunk/libcpan-distnameinfo-perl/debian/rules Fri Mar 7 19:19:01 2008
@@ -1,4 +1,12 @@
#!/usr/bin/make -f
+# 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
@@ -9,67 +17,54 @@
PERL = /usr/bin/perl
endif
-ifndef DESTDIR
-DESTDIR=..
-endif
TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
-
- # Add here commands to compile the package.
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
+ $(MAKE)
+ $(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
- # Add here commands to clean up after the build process.
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
-
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
- # Add here commands to install the package into debian/tmp.
$(MAKE) install DESTDIR=$(TMP) PREFIX=/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:
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
+ touch $@
-# Build architecture-independent files here.
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs README
+ dh_installdocs
dh_installchangelogs Changes
- dh_link
- dh_strip
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
dh_gencontrol
dh_md5sums
- dh_builddeb --destdir=$(DESTDIR)
+ dh_builddeb
-source diff:
+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