Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHARGUERAUD Arthur
cfml
Commits
0e7a87ae
Commit
0e7a87ae
authored
Nov 06, 2014
by
POTTIER Francois
Browse files
Shell hack to find TLC in a hard-coded list of directories.
parent
66e2ee90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.config
View file @
0e7a87ae
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment