r19823 - in /trunk/libole-storage-lite-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat May 10 19:14:32 UTC 2008
Author: gregoa
Date: Sat May 10 19:14:32 2008
New Revision: 19823
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19823
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libole-storage-lite-perl/debian/changelog
trunk/libole-storage-lite-perl/debian/rules
Modified: trunk/libole-storage-lite-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libole-storage-lite-perl/debian/changelog?rev=19823&op=diff
==============================================================================
--- trunk/libole-storage-lite-perl/debian/changelog (original)
+++ trunk/libole-storage-lite-perl/debian/changelog Sat May 10 19:14:32 2008
@@ -1,8 +1,9 @@
libole-storage-lite-perl (0.17-1) UNRELEASED; urgency=low
* New upstream release.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregoa at debian.org> Sat, 10 May 2008 21:08:14 +0200
+ -- gregor herrmann <gregoa at debian.org> Sat, 10 May 2008 21:13:29 +0200
libole-storage-lite-perl (0.16-1) unstable; urgency=low
Modified: trunk/libole-storage-lite-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libole-storage-lite-perl/debian/rules?rev=19823&op=diff
==============================================================================
--- trunk/libole-storage-lite-perl/debian/rules (original)
+++ trunk/libole-storage-lite-perl/debian/rules Sat May 10 19:14:32 2008
@@ -1,16 +1,19 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# debian/rules file for the Debian Linux libole-storage-lite-perl package
-# Copyright (C) 2001,2002 by Dirk Eddelbuettel <edd at debian.org>
+# 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.
-package := $(shell dh_listpackages)
-debtmp := $(CURDIR)/debian/$(package)
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
-ifndef PERL
-PERL = /usr/bin/perl
-endif
+# 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
-#export DH_VERBOSE=1
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
@@ -24,29 +27,29 @@
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(MAKE) install PREFIX=/usr DESTDIR=$(debtmp)
- # 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 $(debtmp)/usr/lib/perl5 ] \
- || rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(debtmp)/usr/lib/perl5
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
dh_testroot
+ dh_installexamples sample/*
+ dh_installdocs
+ dh_installchangelogs Changes
dh_perl
- dh_installdocs
- dh_installexamples sample/*
- dh_installchangelogs Changes
dh_compress -Xexamples
dh_fixperms
dh_installdeb
@@ -54,8 +57,5 @@
dh_md5sums
dh_builddeb
-binary-arch: build install
-
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