Clean target now works in cygwin. Quoted paths to java executables to handle spaces in paths. Include more files in the MSI package. Disable readline automatically on GHC 6.4 for Windows.

This commit is contained in:
bringert
2005-05-19 17:19:42 +00:00
parent 09e2eda1b2
commit 913d1f4de7
6 changed files with 62 additions and 27 deletions

View File

@@ -89,8 +89,7 @@ shell:
$(GHMAKE) $(GHCFLAGS) $(GHCOPTFLAGS) GF/Shell.hs
clean:
-rm -rf */*.o */*.hi *.o *.hi */*.ghi *.ghi *~ */*~
-rm -f GF/*.{o,hi,ghi} GF/*/*.{o,hi,ghi} GF/*/*/*.{o,hi,ghi}
find . '(' -name '*~' -o -name '*.hi' -o -name '*.ghi' -o -name '*.o' ')' -exec rm -f '{}' ';'
-rm -f JavaGUI/*.class
-rm -f gf.wixobj
@@ -203,7 +202,10 @@ grammar-dist:
gtar -zcf $(GRAMMAR_DIST_DIR).tgz $(GRAMMAR_DIST_DIR)
rm -rf $(GRAMMAR_DIST_DIR)
windows-msi:
jgf.bat:
echo 'java -jar gf-java.jar gf.exe' > jgf.bat
windows-msi: jgf.bat
candle -nologo gf.wxs
light -nologo gf.wixobj