r22210 - in /trunk/libscriptalicious-perl/debian: changelog rules
eloy at users.alioth.debian.org
eloy at users.alioth.debian.org
Fri Jun 27 09:01:11 UTC 2008
Author: eloy
Date: Fri Jun 27 09:01:11 2008
New Revision: 22210
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22210
Log:
debian/rules: use debhelper (>= 7) simple example
Modified:
trunk/libscriptalicious-perl/debian/changelog
trunk/libscriptalicious-perl/debian/rules
Modified: trunk/libscriptalicious-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscriptalicious-perl/debian/changelog?rev=22210&op=diff
==============================================================================
--- trunk/libscriptalicious-perl/debian/changelog (original)
+++ trunk/libscriptalicious-perl/debian/changelog Fri Jun 27 09:01:11 2008
@@ -8,6 +8,7 @@
+ Standards-Version: increased to 3.8.0 (no other changes)
* debian/compat: changed value to 7 (no other changes)
* debian/copyright: updated copyright info
+ * debian/rules: use debhelper (>= 7) simple example
[ gregor herrmann ]
* Take over for the Debian Perl Group with maintainer's permission
Modified: trunk/libscriptalicious-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscriptalicious-perl/debian/rules?rev=22210&op=diff
==============================================================================
--- trunk/libscriptalicious-perl/debian/rules (original)
+++ trunk/libscriptalicious-perl/debian/rules Fri Jun 27 09:01:11 2008
@@ -1,59 +1,23 @@
#!/usr/bin/make -f
-
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
- dh_testdir
- $(PERL) Build.PL installdirs=vendor
- OPTIMIZE="-Wall -O2 -g" $(PERL) Build
- pod2text Changes.pod > debian/Changes
+ dh build
+ pod2text Changes.pod > CHANGES
touch build-stamp
clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp install-stamp debian/Changes
- [ ! -f Build ] || $(PERL) Build distclean
- dh_clean
+ dh clean
install: build install-stamp
install-stamp:
- dh_testdir
- dh_testroot
- dh_clean -k
- $(PERL) Build test
- $(PERL) Build install destdir=$(TMP)
+ dh install
touch install-stamp
-binary-arch:
-# We have nothing to do by default.
+binary-arch: install
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs README
- dh_installchangelogs debian/Changes
- dh_perl
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-indep: install
+ dh binary-indep
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+binary: binary-arch binary-indep
More information about the Pkg-perl-cvs-commits
mailing list