[SCM] Packaging for Eigen3. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. branch, master, updated. upstream/3.0.0-14-g85f439a

Anton Gladky gladky.anton at gmail.com
Fri May 13 19:50:22 UTC 2011


The following commit has been merged in the master branch:
commit f2374a383eaa9329ddff0fb25b3e5db08f03d0f7
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Fri May 13 21:47:59 2011 +0200

    Prevent doc-creation on each build. Fixes FTBS on kfreebsd* and armel platforms

diff --git a/debian/rules b/debian/rules
index 22e8924..1b78090 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,15 +7,22 @@ BUILDDIR = $(CURDIR)/debian/build
 override_dh_installchangelogs:
 	dh_installchangelogs debian/Changelog_upstream
 
-override_dh_auto_build:
-	cd ${BUILDDIR}; make doc
+override_dh_auto_test:
+	echo -- Running tests. Even if one of them fails the build is not canceled.
+	-cat /proc/meminfo
+	-cat /proc/cpuinfo
+	cd ${BUILDDIR}; $(MAKE) check || true
+
+binary-indep: 
+	dh --buildsystem=cmake --builddirectory=${BUILDDIR} --before dh_auto_build $@
+	cd ${BUILDDIR}; $(MAKE) doc
 	rm -f ${BUILDDIR}/doc/html/unsupported/FreeSans.ttf
 	rm -f ${BUILDDIR}/doc/html/unsupported/installdox
 	rm -f ${BUILDDIR}/doc/html/jquery.js
 	rm -f ${BUILDDIR}/doc/html/unsupported/jquery.js
+	dh --buildsystem=cmake --builddirectory=${BUILDDIR} --after dh_auto_build $@
 
-override_dh_auto_test:
-	echo -- Running tests. Even if one of them fails the build is not canceled.
-	-cat /proc/meminfo
-	-cat /proc/cpuinfo
-	cd ${BUILDDIR}; make check || true
+binary-arch: 
+	dh --buildsystem=cmake --builddirectory=${BUILDDIR} $@
+
+binary: binary-indep binary-arch

-- 
Packaging for Eigen3. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.



More information about the debian-science-commits mailing list