r17065 - in /trunk/libnetxap-perl/debian: changelog examples rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sun Mar 9 14:59:17 UTC 2008
Author: gregoa-guest
Date: Sun Mar 9 14:59:16 2008
New Revision: 17065
URL: http://svn.debian.org/wsvn/?sc=1&rev=17065
Log:
* debian/rules: update based on dh-make-perl's templates.
* Delete debian/examples, install sample scripts directly from
debian/rules.
Removed:
trunk/libnetxap-perl/debian/examples
Modified:
trunk/libnetxap-perl/debian/changelog
trunk/libnetxap-perl/debian/rules
Modified: trunk/libnetxap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnetxap-perl/debian/changelog?rev=17065&op=diff
==============================================================================
--- trunk/libnetxap-perl/debian/changelog (original)
+++ trunk/libnetxap-perl/debian/changelog Sun Mar 9 14:59:16 2008
@@ -5,12 +5,15 @@
Vcs-Svn fields.
* debian/watch: use dist-based URL.
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467989).
+ * debian/rules: update based on dh-make-perl's templates.
* Set Standards-Version to 3.7.3 (no changes).
* Add /me to Uploaders.
* debian/copyright: add download URL.
* Change patch system from dpatch to quilt.
+ * Delete debian/examples, install sample scripts directly from
+ debian/rules.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 09 Mar 2008 15:45:52 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 09 Mar 2008 15:50:32 +0100
libnetxap-perl (0.02-6) unstable; urgency=low
Modified: trunk/libnetxap-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnetxap-perl/debian/rules?rev=17065&op=diff
==============================================================================
--- trunk/libnetxap-perl/debian/rules (original)
+++ trunk/libnetxap-perl/debian/rules Sun Mar 9 14:59:16 2008
@@ -1,13 +1,17 @@
#!/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
include /usr/share/quilt/quilt.make
+
+# 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)
@@ -15,9 +19,6 @@
PERL = /usr/bin/perl
endif
-ifndef DESTDIR
-DESTDIR=..
-endif
TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
@@ -25,52 +26,49 @@
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
+ $(MAKE)
+ # don't run tests, they need an imapd
+ # $(MAKE) test
- touch build-stamp
+ touch $@
-clean: clean-patched unpatch
-clean-patched:
+clean: unpatch
dh_testdir
dh_testroot
- rm -f build-stamp
+ 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
- $(MAKE) install PREFIX=$(TMP)/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:
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-binary-arch: build install
-# We have nothing to do.
+ touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs BUGS TODO ANNOUNCE NEWS README
- dh_installexamples
- dh_installman
- dh_installchangelogs
- dh_link
- dh_strip
+ dh_installexamples examples/*
+ dh_installdocs ANNOUNCE BUGS CREDITS NEWS README TODO
+ dh_installchangelogs
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
- dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb --destdir=$(DESTDIR)
+ 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