r17205 - in /trunk/libperl6-form-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Tue Mar 11 22:40:26 UTC 2008
Author: gregoa-guest
Date: Tue Mar 11 22:40:11 2008
New Revision: 17205
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17205
Log:
debian/rules:
- update based on dh-make-perl's templates
- install example fragments and make them non-executable
Modified:
trunk/libperl6-form-perl/debian/changelog
trunk/libperl6-form-perl/debian/rules
Modified: trunk/libperl6-form-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl6-form-perl/debian/changelog?rev=17205&op=diff
==============================================================================
--- trunk/libperl6-form-perl/debian/changelog (original)
+++ trunk/libperl6-form-perl/debian/changelog Tue Mar 11 22:40:11 2008
@@ -10,8 +10,11 @@
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467842).
* debian/watch: use dist-based URL.
* Set Standards-Version to 3.7.3 (no changes).
+ * debian/rules:
+ - update based on dh-make-perl's templates
+ - install example fragments and make them non-executable
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 11 Mar 2008 23:29:38 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 11 Mar 2008 23:39:29 +0100
libperl6-form-perl (0.04-5) unstable; urgency=low
Modified: trunk/libperl6-form-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl6-form-perl/debian/rules?rev=17205&op=diff
==============================================================================
--- trunk/libperl6-form-perl/debian/rules (original)
+++ trunk/libperl6-form-perl/debian/rules Tue Mar 11 22:40:11 2008
@@ -1,96 +1,72 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# 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
-PERL ?= /usr/bin/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
-package := $(firstword $(shell dh_listpackages))
-prefix := $(CURDIR)/debian/$(package)/usr
+PACKAGE=$(shell dh_listpackages)
-version := $(shell dpkg-parsechangelog | \
- sed -ne 's/^Version: *\([0-9]\+:\)*//p')
-
-tag:
- cvs tag -c -F $(subst .,_,debian_version_$(version))
-ifeq ($(findstring -,$(version)),)
- cvs tag -c -F $(subst .,_,upstream_version_$(version))
+ifndef PERL
+PERL = /usr/bin/perl
endif
-
+TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-
build-stamp:
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL)
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE)
$(MAKE) test
- $(MAKE) LD_RUN_PATH=
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
- # Add here commands to clean up after the build process.
- -$(MAKE) distclean
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
-
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
- dh_clean -k
- dh_installdirs
+ dh_clean -k
- # Add here commands to install the package into debian/libperl6-form-perl.
- $(MAKE) pure_install PREFIX=$(prefix)
- # 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 $(prefix)/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(prefix)/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 $@
-# Build architecture-independent files here.
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
binary-indep: build install
dh_testdir
dh_testroot
+ dh_installexamples demo/*
+ chmod 644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
+ dh_installdocs
dh_installchangelogs Changes
- dh_installdocs
- dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip
+ dh_perl
dh_compress
dh_fixperms
-# dh_perl
-# dh_python
-# dh_makeshlibs
dh_installdeb
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
+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 install configure
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list