r19058 - in /trunk/libnet-cups-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Wed Apr 23 14:43:34 UTC 2008
Author: gregoa
Date: Wed Apr 23 14:43:33 2008
New Revision: 19058
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19058
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libnet-cups-perl/debian/changelog
trunk/libnet-cups-perl/debian/rules
Modified: trunk/libnet-cups-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/changelog?rev=19058&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/changelog (original)
+++ trunk/libnet-cups-perl/debian/changelog Wed Apr 23 14:43:33 2008
@@ -3,8 +3,9 @@
* Set build dependency on libcupsys2-dev to >= 1.3.7-3; fixes
"FTBFS: CUPS.xs:15:23: error: cups/i18n.h: No such file or directory"
(closes: #474870); set urgency to medium because of the RC bug.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregoa at debian.org> Wed, 23 Apr 2008 16:31:59 +0200
+ -- gregor herrmann <gregoa at debian.org> Wed, 23 Apr 2008 16:39:52 +0200
libnet-cups-perl (0.55-2) unstable; urgency=low
Modified: trunk/libnet-cups-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-cups-perl/debian/rules?rev=19058&op=diff
==============================================================================
--- trunk/libnet-cups-perl/debian/rules (original)
+++ trunk/libnet-cups-perl/debian/rules Wed Apr 23 14:43:33 2008
@@ -1,34 +1,34 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+# 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
-ifndef PERL
- PERL = /usr/bin/perl
-endif
-
-TMP=$(CURDIR)/debian/libnet-cups-perl
+# 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
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimisation by setting noopt in
+# $DEB_BUILD_OPTIONS
CFLAGS = -Wall -g
-
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
-
build: build-stamp
-build-stamp:
+build-stamp:
dh_testdir
- $(PERL) Makefile.PL
- $(MAKE) OPTIMIZE="$(CFLAGS)"
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
$(MAKE) test
touch $@
@@ -36,39 +36,36 @@
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_vendor DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
- # cleanup upstream .svn(s)
- #
- #find . -name ".svn" | xargs rm -rf
- #
- # Not used any more, uclean applied to the orig.tar.gz
-
+ dh_clean -k
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/share/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/share/perl5
touch $@
-
-binary-indep:
-# We have nothing to do
+# Build architecture-independent files here.
+binary-indep: build install
+# 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 TODO README
dh_installchangelogs Changes
- dh_installdocs README TODO
- dh_installexamples examples/*
+ dh_shlibdeps
dh_strip
+ dh_perl
dh_compress
dh_fixperms
- dh_perl
dh_installdeb
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
More information about the Pkg-perl-cvs-commits
mailing list