forked from GitHub/gf-core
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user