r16892 - in /trunk/libfreezethaw-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sat Mar 8 13:41:26 UTC 2008
Author: gregoa-guest
Date: Sat Mar 8 13:41:26 2008
New Revision: 16892
URL: http://svn.debian.org/wsvn/?sc=1&rev=16892
Log:
s/UNRELEASED/unstable/
Modified:
trunk/libfreezethaw-perl/debian/changelog
trunk/libfreezethaw-perl/debian/rules
Modified: trunk/libfreezethaw-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libfreezethaw-perl/debian/changelog?rev=16892&op=diff
==============================================================================
--- trunk/libfreezethaw-perl/debian/changelog (original)
+++ trunk/libfreezethaw-perl/debian/changelog Sat Mar 8 13:41:26 2008
@@ -1,14 +1,18 @@
-libfreezethaw-perl (0.43-4) UNRELEASED; urgency=low
+libfreezethaw-perl (0.43-4) unstable; urgency=low
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/watch: use dist-based URL.
- * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #468025).
+ * debian/rules:
+ - delete /usr/lib/perl5 only if it exists (closes: #468025)
+ - update based on dh-make-perl's templates
+ - don't install README any more (contains only a copyright notice which
+ is in debian/copyright anyway)
* Set Standards-Version to 3.7.3 (no changes).
* debian/copyright: add upstream source location.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 08 Mar 2008 14:35:21 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 08 Mar 2008 14:39:31 +0100
libfreezethaw-perl (0.43-3) unstable; urgency=low
Modified: trunk/libfreezethaw-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libfreezethaw-perl/debian/rules?rev=16892&op=diff
==============================================================================
--- trunk/libfreezethaw-perl/debian/rules (original)
+++ trunk/libfreezethaw-perl/debian/rules Sat Mar 8 13:41:26 2008
@@ -1,13 +1,14 @@
#!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
+# 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
-#for noninteractive installs
+# 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)
@@ -16,68 +17,54 @@
PERL = /usr/bin/perl
endif
-ifndef DESTDIR
-DESTDIR=..
-endif
-TMP =`pwd`/debian/$(PACKAGE)
+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.
- -$(MAKE) realclean
+ 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) test
- $(MAKE) install PREFIX=$(TMP)/usr
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+ touch $@
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
+binary-arch:
+# We have nothing to do here for an architecture-independent package
-# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs README
- dh_installman
+ dh_installdocs
dh_installchangelogs Changes
- dh_link
- dh_strip
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
- dh_shlibdeps
dh_gencontrol
dh_md5sums
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