[cod-tools] 115/142: branches/single-source-build/ Relying on source's own build rules.
Andrius Merkys
merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:24 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 42da70dba76b41af61cf98896adc13ae3b85e202
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date: Mon May 22 06:44:01 2017 +0000
branches/single-source-build/
Relying on source's own build rules.
git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/branches/single-source-build@115 26752c47-bcd6-4c9c-b022-347364b77eb5
---
debian/rules | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/debian/rules b/debian/rules
index 485963b..7912437 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,25 +9,14 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-SRC_DIR = src/externals/cexceptions
vendorarch = $(shell perl -le 'use Config; print $$Config{vendorarch}')
vendorlib = $(shell perl -le 'use Config; print $$Config{vendorlib}')
%:
- dh $@ --sourcedirectory ${SRC_DIR}
+ dh $@ --with python2
-override_dh_auto_build:
- ${MAKE} PACKAGE=cexceptions EXTRA_LIB_DIRS=lib \
- --directory src/externals/cexceptions
- ${MAKE} PACKAGE=getoptions EXTRA_LIB_DIRS=../cexceptions/lib \
- --directory src/externals/getoptions
- ${MAKE} --directory src/components/codcif
- ${MAKE} --directory src/lib/perl5/COD/CIF/Parser/Bison
- ${MAKE} --directory src/lib/perl5/COD/CIF/Parser/Yapp
- ${MAKE} --directory src/components/pycodcif
-
-override_dh_auto_test:
- ${MAKE} PACKAGE=cexceptions EXTRA_LIB_DIRS=lib test --directory ${SRC_DIR}
+# Skipping auto clean as it gets stuck in an infinite recursion
+override_dh_auto_clean:
override_dh_auto_install:
${MAKE} install PREFIX=../../../debian/libcexceptions0/usr \
--
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