[cod-tools] 38/142: trunk/ Adding Makelocal files for libcexceptions0 and libgetoptions0 for testing of the installed packages.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

merkys-guest pushed a commit to branch master
in repository cod-tools.

commit 40c9451b5244cece5627022a05c2e11adc278f27
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Thu Oct 27 14:49:36 2016 +0000

    trunk/
    Adding Makelocal files for libcexceptions0 and libgetoptions0 for testing
    of the installed packages.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@38 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 MasterMakefile                  | 15 ++++++++++-----
 libcexceptions0/Makelocal-tests |  4 ++++
 libgetoptions0/Makelocal-tests  |  4 ++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/MasterMakefile b/MasterMakefile
index 3c5eab8..99e15fe 100644
--- a/MasterMakefile
+++ b/MasterMakefile
@@ -11,6 +11,16 @@ DEBIAN_TAR_GZ = ${PROJECT}_${PKG_VERSION}.debian.tar.gz
 
 DEBUILD_OPTS =
 
+#------------------------------------------------------------------------------
+
+MAKELOCAL_FILES = ${filter-out %~, ${wildcard Makelocal*}}
+
+ifneq ("${MAKELOCAL_FILES}","")
+include ${MAKELOCAL_FILES}
+endif
+
+#------------------------------------------------------------------------------
+
 all: ${DEBIAN_TAR_GZ}
 
 .PHONY: original orig unsigned
@@ -37,8 +47,3 @@ cleanAll distclean:
 	rm -rf source ${PKGNAME} ${PROJECT}
 	rm -f ${ORIG_TAR_GZ} ${DEBIAN_TAR_GZ}
 	rm -f *.deb *.dsc *.changes *.build
-
-tests: ${ORIG_TAR_GZ}
-	zcat $< | tar -xv
-	${MAKE} -C ${PKGNAME} tests LIBS=
-	rm -rf ${PKGNAME}
diff --git a/libcexceptions0/Makelocal-tests b/libcexceptions0/Makelocal-tests
new file mode 100644
index 0000000..eab943f
--- /dev/null
+++ b/libcexceptions0/Makelocal-tests
@@ -0,0 +1,4 @@
+tests: ${ORIG_TAR_GZ}
+	zcat $< | tar -xv
+	${MAKE} -C ${PKGNAME} tests LIBS=
+	rm -rf ${PKGNAME}
diff --git a/libgetoptions0/Makelocal-tests b/libgetoptions0/Makelocal-tests
new file mode 100644
index 0000000..cba8f2a
--- /dev/null
+++ b/libgetoptions0/Makelocal-tests
@@ -0,0 +1,4 @@
+tests: ${ORIG_TAR_GZ}
+	zcat $< | tar -xv
+	${MAKE} -C ${PKGNAME} tests LIBS= LFLAGS="-lm -lcexceptions -lgetoptions"
+	rm -rf ${PKGNAME}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cod-tools.git



More information about the debian-science-commits mailing list