Commit 0e7a87ae authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Shell hack to find TLC in a hard-coded list of directories.

parent 66e2ee90
TLC := ~/tmp/tlc/src
# This is a crude way of discovering where TLC is installed.
# We pick the first directory that exists in the following hard-coded list.
TLC_CANDIDATES := ~/dev/tlc/src
ifndef TLC
TLC := $(shell for d in $(TLC_CANDIDATES) ; do \
if [ -d $$d ] ; then echo $$d && exit 0 ; fi ; \
done)
endif
ifndef TLC
$(error Unable to find TLC. See Makefile.config)
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment