Added uninstall target to Makefile in binary dists. jgf now looks for a jvm if the hardcoded one is not found.

This commit is contained in:
bringert
2004-11-11 15:05:41 +00:00
parent 5991b6c244
commit 623d971dca

View File

@@ -7,6 +7,14 @@ GF_DATA_DIR=@datadir@/GF-@PACKAGE_VERSION@
JAVA=@JAVA@
if [ ! -x "$JAVA" ]; then
JAVA=`which java`
fi
if [ ! -x "$JAVA" ]; then
echo "No Java VM found"
fi
GF=$GF_BIN_DIR/gf
JARFILE=$GF_DATA_DIR/gf-java.jar