[cod-tools] 105/142: branches/single-source-build/ Fixing debian/rules to build libcexceptions0.
Andrius Merkys
merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:23 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 e92daecf98af982b87549561116e3b77379a99d9
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date: Sun May 21 16:46:59 2017 +0000
branches/single-source-build/
Fixing debian/rules to build libcexceptions0.
git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/branches/single-source-build@105 26752c47-bcd6-4c9c-b022-347364b77eb5
---
debian/rules | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9f2c10e..468e0ec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,14 +9,17 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+SRC_DIR = src/externals/cexceptions
+
%:
- dh $@
+ dh $@ --sourcedirectory ${SRC_DIR}
override_dh_auto_build:
- ${MAKE} PACKAGE=cexceptions EXTRA_LIB_DIRS=lib
+ ${MAKE} PACKAGE=cexceptions EXTRA_LIB_DIRS=lib --directory ${SRC_DIR}
override_dh_auto_test:
- ${MAKE} PACKAGE=cexceptions EXTRA_LIB_DIRS=lib test
+ ${MAKE} PACKAGE=cexceptions EXTRA_LIB_DIRS=lib test --directory ${SRC_DIR}
override_dh_auto_install:
- ${MAKE} install PREFIX=debian/libcexceptions0/usr PACKAGE=cexceptions EXTRA_LIB_DIRS=lib
+ ${MAKE} install PREFIX=../../../debian/libcexceptions0/usr \
+ PACKAGE=cexceptions EXTRA_LIB_DIRS=lib --directory ${SRC_DIR}
--
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