r18457 - in /trunk/libdigest-sha-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Thu Apr 10 14:11:57 UTC 2008
Author: gregoa-guest
Date: Thu Apr 10 14:11:54 2008
New Revision: 18457
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18457
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libdigest-sha-perl/debian/changelog
trunk/libdigest-sha-perl/debian/rules
Modified: trunk/libdigest-sha-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-sha-perl/debian/changelog?rev=18457&op=diff
==============================================================================
--- trunk/libdigest-sha-perl/debian/changelog (original)
+++ trunk/libdigest-sha-perl/debian/changelog Thu Apr 10 14:11:54 2008
@@ -6,8 +6,9 @@
[ gregor herrmann ]
* New upstream release.
* debian/copyright: update years of copyright.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Thu, 10 Apr 2008 16:06:41 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Thu, 10 Apr 2008 16:09:30 +0200
libdigest-sha-perl (5.45-2) unstable; urgency=low
Modified: trunk/libdigest-sha-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-sha-perl/debian/rules?rev=18457&op=diff
==============================================================================
--- trunk/libdigest-sha-perl/debian/rules (original)
+++ trunk/libdigest-sha-perl/debian/rules Thu Apr 10 14:11:54 2008
@@ -11,15 +11,11 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimation by setting noopt in
+# Allow disabling build optimisation by setting noopt in
# $DEB_BUILD_OPTIONS
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -31,62 +27,48 @@
build: build-stamp
build-stamp:
dh_testdir
-
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
$(MAKE) test
-
touch $@
clean:
dh_testdir
dh_testroot
-
dh_clean build-stamp install-stamp
-
- # Add commands to clean up after the build process here
- [ ! -e Makefile ] || $(MAKE) realclean
+ [ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture dependent package, we are not
- # supposed to install stuff to /usr/share. MakeMaker creates
- # the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
+ [ ! -d $(TMP)/usr/share/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/share/perl5
touch $@
# Build architecture-independent files here.
binary-indep: build install
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-dependent package
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
+ dh_installexamples examples/*
dh_installdocs README
- dh_installexamples examples/*
dh_installchangelogs Changes
+ dh_shlibdeps
dh_strip
+ dh_perl
dh_compress -Xexamples
dh_fixperms
dh_installdeb
- dh_perl
- dh_shlibdeps
dh_gencontrol
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