[SCM] Debian packaging of libembperl-perl branch, master, updated. 2baa7e615f09fcbd06b84978a8ea35db745636df

Florian Schlichting fschlich at zedat.fu-berlin.de
Tue Sep 25 21:35:47 UTC 2012


The following commit has been merged in the master branch:
commit 2baa7e615f09fcbd06b84978a8ea35db745636df
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Tue Sep 25 23:08:38 2012 +0200

    simplify d/rules somewhat
    
    package build with TESTARGS="--gdb" hangs, so removed

diff --git a/debian/rules b/debian/rules
index 46d796e..5132a2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,21 +4,6 @@
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 # Some lines taken from debmake, by Christoph Lameter.
 
-# Ignore arch (tla) meta directories
-export DH_ALWAYS_EXCLUDE = ++pristine-trees:\\\\{arch\\\\}:.arch-ids:.arch-inventory:,,\\*
-
-# It would be nice to always get a stacktrace on "make test"
-# segfaults, but that means another build-dep
-ifeq ($(shell test -x /usr/bin/gdb && echo yes),yes)
-TESTARGS=--gdb
-endif
-
-PERL = /usr/bin/perl
-DESTDIR = ..
-
-# stop ExtUtils::MakeMaker prompting
-export PERL_MM_USE_DEFAULT=1
-
 OPTIMIZE = -Wall -g
 #OPTIMIZE = -Wall -W -ggdb -Wpointer-arith -Wconversion -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-unused
 
@@ -39,7 +24,7 @@ config: config-stamp
 config-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	EPHTTPD=/usr/sbin/apache2 \
-	$(PERL) Makefile.PL $(DEBUG) INSTALLDIRS=vendor
+	/usr/bin/perl Makefile.PL $(DEBUG) INSTALLDIRS=vendor
 	touch $@
 
 build: build-stamp
@@ -47,7 +32,7 @@ build-stamp: $(POD2TEXT) config-stamp
 	dh_testdir
 	$(MAKE) -j1 OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH=""
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	$(MAKE) -j1 TESTARGS="$(TESTARGS)" test
+	$(MAKE) -j1 test
 endif
 	touch $@
 
@@ -109,19 +94,8 @@ binary-arch: build install
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb --destdir=$(DESTDIR)
-
-
-# these are only necessary when building Embperl from CVS
-# (and require ExtUtils::XSBuilder)
-xsbuilder/tables/Embperl/ConstantsTable.pm:
-	$(PERL) xsbuilder/source_scan.pl
-
-xs/Makefile.PL: xsbuilder/tables/Embperl/ConstantsTable.pm
-	$(PERL) xsbuilder/xs_generate.pl
+	dh_builddeb --destdir=..
 
-%.pod: podsrc/%.spod
-	$(PERL) podsrc/s2pod.pl < $< > $@
 
 
 binary: binary-indep binary-arch

-- 
Debian packaging of libembperl-perl



More information about the Pkg-perl-cvs-commits mailing list