r70509 - in /trunk/libwww-google-calculator-perl/debian: changelog rules
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Sat Mar 5 19:05:26 UTC 2011
Author: carnil
Date: Sat Mar 5 19:04:52 2011
New Revision: 70509
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70509
Log:
debian/rules: use tiny rules makefile.
Modified:
trunk/libwww-google-calculator-perl/debian/changelog
trunk/libwww-google-calculator-perl/debian/rules
Modified: trunk/libwww-google-calculator-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-google-calculator-perl/debian/changelog?rev=70509&op=diff
==============================================================================
--- trunk/libwww-google-calculator-perl/debian/changelog (original)
+++ trunk/libwww-google-calculator-perl/debian/changelog Sat Mar 5 19:04:52 2011
@@ -26,8 +26,9 @@
- Refresh to revision 135 of DEP5s format-specification for machine-
readable copyright information.
- Add stanza for inc/Module/Install
+ * debian/rules: use tiny rules makefile.
- -- Salvatore Bonaccorso <carnil at debian.org> Sat, 05 Mar 2011 19:55:58 +0100
+ -- Salvatore Bonaccorso <carnil at debian.org> Sat, 05 Mar 2011 20:04:38 +0100
libwww-google-calculator-perl (0.05-1) unstable; urgency=low
Modified: trunk/libwww-google-calculator-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-google-calculator-perl/debian/rules?rev=70509&op=diff
==============================================================================
--- trunk/libwww-google-calculator-perl/debian/rules (original)
+++ trunk/libwww-google-calculator-perl/debian/rules Sat Mar 5 19:04:52 2011
@@ -1,78 +1,4 @@
#!/usr/bin/make -f
-# 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.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# 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)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- $(PERL) Makefile.PL installdirs=vendor
- $(MAKE)
- $(MAKE) test
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
-
- dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
-
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- $(MAKE) install DESTDIR=$(TMP)
-
- # 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 $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
- touch $@
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs Changes
- dh_perl
- 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: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+ dh $@
More information about the Pkg-perl-cvs-commits
mailing list