summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorbringert <unknown>2005-05-19 14:19:13 +0000
committerbringert <unknown>2005-05-19 14:19:13 +0000
commitc2ac91bc1695d84b4eeb35c467f4c9ac0bea8327 (patch)
tree1f23c72b840bad553e9cd7e9599d09f3eea4b05e /src/Makefile
parentfb90359e3273963985799595f00937169bc49fb9 (diff)
Can now build Windows MSI packages using WiX.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 30e4be8b6..eecb0f6df 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -48,7 +48,7 @@ endif
.PHONY: all unix jar gfdoc windows install install-gf \
temp install-gfdoc install-editor \
- today help clean
+ today help clean windows-msi
all: unix gfdoc $(BUILD_JAR)
@@ -92,6 +92,7 @@ clean:
-rm -rf */*.o */*.hi *.o *.hi */*.ghi *.ghi *~ */*~
-rm -f GF/*.{o,hi,ghi} GF/*/*.{o,hi,ghi} GF/*/*/*.{o,hi,ghi}
-rm -f JavaGUI/*.class
+ -rm -f gf.wixobj
distclean: clean
-rm -f JavaGUI/gf-java.jar jgf
@@ -99,6 +100,7 @@ distclean: clean
-rm -f config.status config.mk config.log
-rm -f *.tgz *.zip
-rm -rf $(DIST_DIR) $(BIN_DIST_DIR)
+ -rm -rf gf.msi
ghci-nofud:
$(GHCI) $(GHCFLAGS)
@@ -201,6 +203,10 @@ grammar-dist:
gtar -zcf $(GRAMMAR_DIST_DIR).tgz $(GRAMMAR_DIST_DIR)
rm -rf $(GRAMMAR_DIST_DIR)
+windows-msi:
+ candle -nologo gf.wxs
+ light -nologo gf.wixobj
+
#
# Installation
#