Only create gf.wxs when build MSI package, to avoid including it in binary dists.

This commit is contained in:
bringert
2005-05-19 19:19:10 +00:00
parent b6028484a6
commit 9843884512
3 changed files with 8 additions and 5 deletions

View File

@@ -204,7 +204,10 @@ grammar-dist:
$(TAR) -zcf $(GRAMMAR_DIST_DIR).tgz $(GRAMMAR_DIST_DIR)
rm -rf $(GRAMMAR_DIST_DIR)
windows-msi:
gf.wxs: config.status gf.wxs.in
./config.status --file=$@
windows-msi: gf.wxs
candle -nologo gf.wxs
light -nologo -o $(MSI_FILE) gf.wixobj

View File

@@ -4,9 +4,9 @@ AC_INIT([GF],[2.2],[aarne@cs.chalmers.se],[GF])
AC_PREREQ(2.53)
AC_REVISION($Revision: 1.22 $)
AC_REVISION($Revision: 1.23 $)
AC_CONFIG_FILES([config.mk jgf gf.wxs])
AC_CONFIG_FILES([config.mk jgf])
AC_CANONICAL_HOST

View File

@@ -36,8 +36,8 @@
WorkingDirectory="INSTALLDIR" />
</Component>
<Directory Id="GFDocDir" Name="doc" DiskId="1">
<Component Id="GFDoc" Guid="23BEEBBF-F9AB-459F-B8D2-8414BB47834A">
<Directory Id="GFDocDir" Name="doc">
<Component Id="GFDoc" Guid="23BEEBBF-F9AB-459F-B8D2-8414BB47834A" DiskId="1">
<File Id="GFReadme" Name="README.txt" src="../README" />
<File Id="GFLicenee" Name="LICENSE.txt" src="../LICENSE" />
</Component>