r17427 - in /trunk/libmath-bigint-gmp-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Fri Mar 14 13:42:05 UTC 2008
Author: gregoa-guest
Date: Fri Mar 14 13:42:04 2008
New Revision: 17427
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17427
Log:
debian/rules: update based on dh-make-perl's templates.
Modified:
trunk/libmath-bigint-gmp-perl/debian/changelog
trunk/libmath-bigint-gmp-perl/debian/rules
Modified: trunk/libmath-bigint-gmp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-bigint-gmp-perl/debian/changelog?rev=17427&op=diff
==============================================================================
--- trunk/libmath-bigint-gmp-perl/debian/changelog (original)
+++ trunk/libmath-bigint-gmp-perl/debian/changelog Fri Mar 14 13:42:04 2008
@@ -19,8 +19,9 @@
statement.
* Set Standards-Version to 3.7.3 (no changes).
* Set debhelper compatibility level to 5.
+ * debian/rules: update based on dh-make-perl's templates.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 14 Mar 2008 14:37:15 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 14 Mar 2008 14:39:38 +0100
libmath-bigint-gmp-perl (1.18-2) unstable; urgency=low
Modified: trunk/libmath-bigint-gmp-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-bigint-gmp-perl/debian/rules?rev=17427&op=diff
==============================================================================
--- trunk/libmath-bigint-gmp-perl/debian/rules (original)
+++ trunk/libmath-bigint-gmp-perl/debian/rules Fri Mar 14 13:42:04 2008
@@ -19,7 +19,7 @@
TMP =$(CURDIR)/debian/$(PACKAGE)
-# Allow disabling build optimation by setting noopt in
+# Allow disabling build optimisation by setting noopt in
# $DEB_BUILD_OPTIONS
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -32,68 +32,52 @@
build-stamp:
dh_testdir
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+ $(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- # Add commands to clean up after the build process here
- -$(MAKE) realclean
-
dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
-install-stamp:
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- # Add here commands to install the package into debian/tmp.
- $(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture dependent package, we are not supposed to install
- # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from
- # the deb:
[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
- touch install-stamp
+
+ touch $@
# Build architecture-independent files here.
binary-indep: build install
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-dependent package
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs BUGS TODO README
- dh_installexamples
-# dh_installmenu
-# dh_installcron
-# dh_installman
dh_installchangelogs CHANGES
- dh_link
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ dh_shlibdeps
dh_strip
-endif
+ dh_perl
dh_compress
dh_fixperms
- dh_makeshlibs
dh_installdeb
- dh_perl
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
-source diff:
+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