COMP: coco-cpp now installed with --prefix and without separate --exec-prefix

COMP: latest coco-cpp can find the frame files relative to the
executable path. This simplifies the make rules.
This commit is contained in:
Mark Olesen
2010-03-10 12:11:26 +01:00
parent 6b6dd51a27
commit d239cc053a
7 changed files with 6 additions and 12 deletions

View File

@ -34,7 +34,7 @@ cd ${0%/*} || exit 1 # run from this directory
bindir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/coco-cpp/bin
frames=$WM_THIRD_PARTY_DIR/platforms/share/coco-cpp
frames=$bindir/../share/coco-cpp
[ -d "$bindir" -a -x "$bindir/coco-cpp" ] || {
echo "no coco-cpp binary found"
@ -47,8 +47,7 @@ frames=$WM_THIRD_PARTY_DIR/platforms/share/coco-cpp
}
# run coco-cpp:
$bindir/coco-cpp -frames $frames wmkdependParser.atg
$bindir/coco-cpp wmkdependParser.atg
echo
echo Done