[med-svn] [unanimity] 04/05: d/rules: explain purpose of environment variables

Afif Elghraoui afif at moszumanska.debian.org
Sat Dec 24 01:30:02 UTC 2016


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

afif pushed a commit to branch master
in repository unanimity.

commit 66031982a75f06332360530849276edf36b74099
Author: Afif Elghraoui <afif at debian.org>
Date:   Fri Dec 23 16:43:44 2016 -0800

    d/rules: explain purpose of environment variables
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 55e7aa0..de0e030 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,8 @@ export LC_ALL=C.UTF-8
 export INCLUDE=/usr/include
 export LIB=/usr/lib/$(DEB_HOST_MULTIARCH)
 
+# Even though these are passed directly to cmake (for ccs) in dh_auto_configure,
+# they also need to be environment variables for setup.py to work.
 export pbcopper_INCLUDE_DIRS=$(INCLUDE)
 export pbcopper_LIBRARIES=$(LIB)/libpbcopper.a
 
@@ -42,8 +44,8 @@ config-main:
 	-DPacBioBAM_INCLUDE_DIRS=$(INCLUDE) \
 	-DPacBioBAM_LIBRARIES=$(LIB)/libpbbam.so \
 	-DSEQAN_INCLUDE_DIRS=$(INCLUDE) \
-	-Dpbcopper_INCLUDE_DIRS=$(INCLUDE) \
-	-Dpbcopper_LIBRARIES=$(LIB)/libpbcopper.a
+	-Dpbcopper_INCLUDE_DIRS=$(pbcopper_INCLUDE_DIRS) \
+	-Dpbcopper_LIBRARIES=$(pbcopper_LIBRARIES)
 	touch $@
 
 override_dh_python2:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/unanimity.git



More information about the debian-med-commit mailing list