r30742 - in /trunk/libpalm-perl/debian: changelog libpalm-perl.examples rules
diocles-guest at users.alioth.debian.org
diocles-guest at users.alioth.debian.org
Sun Feb 15 23:44:22 UTC 2009
Author: diocles-guest
Date: Sun Feb 15 23:44:19 2009
New Revision: 30742
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=30742
Log:
* debian/rules: Replace with minimal dh7+quilt rules.
* debian/libpalm-perl.examples: Ship examples directory.
Modified:
trunk/libpalm-perl/debian/changelog
trunk/libpalm-perl/debian/libpalm-perl.examples
trunk/libpalm-perl/debian/rules
Modified: trunk/libpalm-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpalm-perl/debian/changelog?rev=30742&op=diff
==============================================================================
--- trunk/libpalm-perl/debian/changelog (original)
+++ trunk/libpalm-perl/debian/changelog Sun Feb 15 23:44:19 2009
@@ -10,6 +10,8 @@
* debian/control:
+ Set maintainer to Debian Perl group.
+ Add self to Uploaders.
+ * debian/rules: Replace with minimal dh7+quilt rules.
+ * debian/libpalm-perl.examples: Ship examples directory.
-- Tim Retout <tim at retout.co.uk> Sun, 15 Feb 2009 23:31:01 +0000
Modified: trunk/libpalm-perl/debian/libpalm-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpalm-perl/debian/libpalm-perl.examples?rev=30742&op=diff
==============================================================================
--- trunk/libpalm-perl/debian/libpalm-perl.examples (original)
+++ trunk/libpalm-perl/debian/libpalm-perl.examples Sun Feb 15 23:44:19 2009
@@ -1,1 +1,1 @@
-util/copydb
+examples/*
Modified: trunk/libpalm-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpalm-perl/debian/rules?rev=30742&op=diff
==============================================================================
--- trunk/libpalm-perl/debian/rules (original)
+++ trunk/libpalm-perl/debian/rules Sun Feb 15 23:44:19 2009
@@ -1,69 +1,32 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+USES_QUILT := $(shell if [ -f $(CURDIR)/debian/patches/series ]; then echo yes; else echo no; fi)
+ifeq ($(USES_QUILT),yes)
+ 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
-
-ifndef PERL
-PERL = /usr/bin/perl
+ PATCH_TARGET := $(QUILT_STAMPFN)
+ UNPATCH_TARGET := unpatch
endif
build: build-stamp
-build-stamp:
- dh_testdir
+build-stamp: $(PATCH_TARGET)
+ dh build
+ touch $@
- ${PERL} Makefile.PL INSTALLDIRS=vendor
- # Add here commands to compile the package.
- $(MAKE)
+clean: $(UNPATCH_TARGET)
+ dh $@
- touch build-stamp
+install: install-stamp
+install-stamp: build-stamp
+ dh install
+ touch $@
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- if [ -e Makefile ]; then $(MAKE) -i distclean; fi
- dh_clean
+binary-arch: install
+ dh $@
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
+binary-indep: install
+ dh $@
- # Add here commands to install the package into debian/tmp.
- $(MAKE) pure_install PREFIX=$(CURDIR)/debian/libpalm-perl/usr
+binary: binary-arch binary-indep
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir -i
- dh_testroot -i
- dh_installdocs -i
- dh_installexamples -i
- dh_installmenu -i
- dh_installcron -i
- dh_installman -i
- dh_installinfo -i
- dh_installchangelogs -i ChangeLog
- dh_link -i
- dh_strip -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_perl -i
- dh_shlibdeps -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: binary binary-arch binary-indep install clean build
More information about the Pkg-perl-cvs-commits
mailing list