[SCM] givaro: library for arithmetic and algebraic computations branch, master, updated. debian/3.2.13-1.3-25-g224dd92

Lifeng Sun lifongsun at gmail.com
Fri Jul 13 15:00:48 UTC 2012


The following commit has been merged in the master branch:
commit 224dd92c01ee5cbf61e5f14ff2391dc2cb0e6504
Author: Lifeng Sun <lifongsun at gmail.com>
Date:   Fri Jul 13 22:52:50 2012 +0800

    d/rules: change to tiny-style.

diff --git a/debian/rules b/debian/rules
index 4c7da54..5078eee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,46 +13,19 @@ LDFLAGS		:= $(shell dpkg-buildflags --get LDFLAGS)
 
 DEB_HOST_MULTIARCH	?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-        NUMJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-else
-	NUMJOBS := 1
-endif
-
 export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
 
-configure-stamp:
-	dh_testdir
+override_dh_auto_configure:
 	dh_auto_configure -- --with-gmp --enable-shared \
 		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
-	touch $@
 
 override_dh_installexamples:
 	dh_installexamples -XMakefile -XMakefile.am -XMakefile.in
 
-build-arch: configure-stamp
-	dh_testdir
-	$(MAKE) -j$(NUMJOBS)
-
-build-indep: configure-stamp
-	dh_testdir
+override_dh_auto_build-indep:
 	mkdir -p docs/givaro-dev-html
 	$(MAKE) -C docs docs_dev
 	rm -f docs/givaro-*html/COPYING
 
-build: build-arch
-
-binary-arch: build-arch
-	dh $@
-
-binary-indep: build-indep
-	dh $@
-
-binary: binary-arch binary-indep
-
-clean:
-	dh_testdir
-	dh_auto_clean
-	dh_clean
-
-.PHONY: build build-arch build-indep binary binary-arch binary-indep clean
+%:
+	dh $@ --with autotools-dev --parallel

-- 
givaro: library for arithmetic and algebraic computations



More information about the debian-science-commits mailing list