[oclgrind] 03/04: move the convenience copy of CL/*.h aside during build

Andreas Beckmann anbe at moszumanska.debian.org
Wed Dec 16 01:26:57 UTC 2015


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

anbe pushed a commit to branch master
in repository oclgrind.

commit dfd75664f5e699c57a399a50b8e1ad7f320b2a60
Author: Andreas Beckmann <anbe at debian.org>
Date:   Wed Dec 16 01:33:04 2015 +0100

    move the convenience copy of CL/*.h aside during build
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 17656da..00360ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,11 +12,13 @@ include /usr/share/dpkg/default.mk
 	dh $@ --buildsystem=cmake --parallel
 
 override_dh_auto_configure:
+	if [ -d src/CL ]; then mv src/CL src/CL-Do-Not-Use ; fi
 	dh_auto_configure -- -DLLVM_DIR=/usr/share/llvm-3.6/cmake
 
 override_dh_auto_clean:
 	dh_auto_clean
 	find tests/ -name "*.out" -delete
+	if [ -d src/CL-Do-Not-Use ]; then mv src/CL-Do-Not-Use src/CL ; fi
 
 override_dh_makeshlibs:
 	dh_makeshlibs -Xliboclgrind-rt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/oclgrind.git



More information about the Pkg-opencl-commits mailing list