forked from GitHub/gf-core
Look for tar in configure, since we must have gtar on Solaris and tar on Windows.
This commit is contained in:
@@ -70,7 +70,7 @@ buildarchtranslate: i686: i586
|
|||||||
$ cd src
|
$ cd src
|
||||||
$ ./configure && make rpm
|
$ ./configure && make rpm
|
||||||
|
|
||||||
12. Build a generic binary x86/linux (should be done on a Linux box,
|
12. Build a generic binary x86/linux package (should be done on a Linux box,
|
||||||
e.g. banded.medic.chalmers.se):
|
e.g. banded.medic.chalmers.se):
|
||||||
|
|
||||||
$ cd src
|
$ cd src
|
||||||
@@ -95,12 +95,21 @@ buildarchtranslate: i686: i586
|
|||||||
TODO: Use OS X PackageMaker to build a .pkg-file which can
|
TODO: Use OS X PackageMaker to build a .pkg-file which can
|
||||||
be installed using the standard OS X Installer program.
|
be installed using the standard OS X Installer program.
|
||||||
|
|
||||||
15. Build a Windows package:
|
15. Build a binary Cygwin package (should be done on a Windows
|
||||||
|
machine with Cygwin):
|
||||||
|
|
||||||
|
$ cd src
|
||||||
|
$ ./configure && make binary-dist
|
||||||
|
|
||||||
|
16. Build a Windows MSI package (FIXME: This doesn't work right,
|
||||||
|
pathnames with backslashes and spaces are not handled
|
||||||
|
correctly in Windows. We only release abinary tarball
|
||||||
|
for Cygwin right now.):
|
||||||
|
|
||||||
$ cd src
|
$ cd src
|
||||||
$ ./configure && make all windows-msi
|
$ ./configure && make all windows-msi
|
||||||
|
|
||||||
16. Add new GF package release to SourceForge:
|
17. Add new GF package release to SourceForge:
|
||||||
|
|
||||||
- Project page -> Admin -> File releases -> Add release (for the
|
- Project page -> Admin -> File releases -> Add release (for the
|
||||||
GF package)
|
GF package)
|
||||||
@@ -121,7 +130,7 @@ buildarchtranslate: i686: i586
|
|||||||
* sparc binary tarball -> Sparc/.gz
|
* sparc binary tarball -> Sparc/.gz
|
||||||
* source package -> Any/Source .gz
|
* source package -> Any/Source .gz
|
||||||
|
|
||||||
17. Add new GF-editor release. Repeat the steps above, but
|
18. Add new GF-editor release. Repeat the steps above, but
|
||||||
with GF-editor:
|
with GF-editor:
|
||||||
|
|
||||||
- Add files and set properties:
|
- Add files and set properties:
|
||||||
@@ -130,7 +139,7 @@ buildarchtranslate: i686: i586
|
|||||||
figured out how to make noarch rpms from the same spec as
|
figured out how to make noarch rpms from the same spec as
|
||||||
arch-specific ones)
|
arch-specific ones)
|
||||||
|
|
||||||
18. (Only if releasing a new grammars distribution)
|
19. (Only if releasing a new grammars distribution)
|
||||||
Add new GF-grammars release. Repeat the steps above, but with
|
Add new GF-grammars release. Repeat the steps above, but with
|
||||||
GF-grammars:
|
GF-grammars:
|
||||||
|
|
||||||
@@ -138,6 +147,6 @@ buildarchtranslate: i686: i586
|
|||||||
|
|
||||||
* grammar tarball -> Platform independent/Source .gz
|
* grammar tarball -> Platform independent/Source .gz
|
||||||
|
|
||||||
19. Update website.
|
20. Update website.
|
||||||
|
|
||||||
20. Party!
|
21. Party!
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ LDFLAGS = @LDFLAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
|
TAR = @TAR@
|
||||||
|
|
||||||
GHC = "@GHC@"
|
GHC = "@GHC@"
|
||||||
GHCI = "@GHCI@"
|
GHCI = "@GHCI@"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ AC_INIT([GF],[2.2],[aarne@cs.chalmers.se],[GF])
|
|||||||
|
|
||||||
AC_PREREQ(2.53)
|
AC_PREREQ(2.53)
|
||||||
|
|
||||||
AC_REVISION($Revision: 1.21 $)
|
AC_REVISION($Revision: 1.22 $)
|
||||||
|
|
||||||
AC_CONFIG_FILES([config.mk jgf gf.wxs])
|
AC_CONFIG_FILES([config.mk jgf gf.wxs])
|
||||||
|
|
||||||
@@ -132,6 +132,12 @@ fi
|
|||||||
AC_SUBST(ENABLE_JAVA)
|
AC_SUBST(ENABLE_JAVA)
|
||||||
|
|
||||||
|
|
||||||
|
dnl ***********************************************
|
||||||
|
dnl TAR
|
||||||
|
dnl ***********************************************
|
||||||
|
|
||||||
|
AC_CHECK_PROGS(TAR, gtar tar)
|
||||||
|
|
||||||
dnl ***********************************************
|
dnl ***********************************************
|
||||||
dnl Other programs
|
dnl Other programs
|
||||||
dnl ***********************************************
|
dnl ***********************************************
|
||||||
|
|||||||
@@ -16,30 +16,30 @@
|
|||||||
<Directory Id="ProgramFilesFolder">
|
<Directory Id="ProgramFilesFolder">
|
||||||
<Directory Id="INSTALLDIR" Name="GF-@PACKAGE_VERSION@">
|
<Directory Id="INSTALLDIR" Name="GF-@PACKAGE_VERSION@">
|
||||||
|
|
||||||
<Component Id="GFBinary" Guid="E2A44A6C-0252-4346-85AE-BC6A16BFB0FC">
|
<Component Id="GFBinary" Guid="E2A44A6C-0252-4346-85AE-BC6A16BFB0FC" DiskId="1">
|
||||||
<File Id="GFEXE" Name="gf.exe" DiskId="1" src="../bin/gf.exe" />
|
<File Id="GFEXE" Name="gf.exe" src="../bin/gf.exe" />
|
||||||
<Shortcut Id="GFStartMenu" Directory="GFProgramMenuDir"
|
<Shortcut Id="GFStartMenu" Directory="GFProgramMenuDir"
|
||||||
Name="GF" Target="[!GFEXE]" />
|
Name="GF" Target="[!GFEXE]" />
|
||||||
</Component>
|
</Component>
|
||||||
|
|
||||||
<Component Id="GFDocBinary" Guid="BDCA6F34-EE0A-4E72-8D00-CB7CAF3CEAEA">
|
<Component Id="GFDocBinary" Guid="BDCA6F34-EE0A-4E72-8D00-CB7CAF3CEAEA" DiskId="1">
|
||||||
<File Id="GFDocEXE" Name="gfdoc.exe" DiskId="1" src="tools/gfdoc.exe" />
|
<File Id="GFDocEXE" Name="gfdoc.exe" src="tools/gfdoc.exe" />
|
||||||
</Component>
|
</Component>
|
||||||
|
|
||||||
<Component Id="GFEditor" Guid="39F885F7-BC49-4CBC-9DCD-569C95AA3364">
|
<Component Id="GFEditor" Guid="39F885F7-BC49-4CBC-9DCD-569C95AA3364" DiskId="1">
|
||||||
<Environment Id="GFHomeEnv" Name="GF_HOME" Action="create" Part="all" Permanent="no"
|
<Environment Id="GFHomeEnv" Name="GF_HOME" Action="create" Part="all"
|
||||||
Value="[INSTALLDIR]" />
|
Permanent="no" Value="[INSTALLDIR]" />
|
||||||
<File Id="GFEditorBat" Name="jgf.bat" DiskId="1" src="jgf.bat" />
|
<File Id="GFEditorBat" Name="jgf.bat" src="jgf.bat" />
|
||||||
<File Id="GFEditorJar" Name="gf-java.jar" DiskId="1" src="JavaGUI/gf-java.jar" />
|
<File Id="GFEditorJar" Name="gf-java.jar" src="JavaGUI/gf-java.jar" />
|
||||||
<Shortcut Id="GFEditorStartMenu" Directory="GFProgramMenuDir"
|
<Shortcut Id="GFEditorStartMenu" Directory="GFProgramMenuDir"
|
||||||
Name="GFEditor" LongName="GF Editor" Target="[!GFEditorBat]"
|
Name="GFEditor" LongName="GF Editor" Target="[!GFEditorBat]"
|
||||||
WorkingDirectory="INSTALLDIR" />
|
WorkingDirectory="INSTALLDIR" />
|
||||||
</Component>
|
</Component>
|
||||||
|
|
||||||
<Directory Id="GFDocDir" Name="doc">
|
<Directory Id="GFDocDir" Name="doc" DiskId="1">
|
||||||
<Component Id="GFDoc" Guid="23BEEBBF-F9AB-459F-B8D2-8414BB47834A">
|
<Component Id="GFDoc" Guid="23BEEBBF-F9AB-459F-B8D2-8414BB47834A">
|
||||||
<File Id="GFReadme" Name="README.txt" DiskId="1" src="../README" />
|
<File Id="GFReadme" Name="README.txt" src="../README" />
|
||||||
<File Id="GFLicenee" Name="LICENSE.txt" DiskId="1" src="../LICENSE" />
|
<File Id="GFLicenee" Name="LICENSE.txt" src="../LICENSE" />
|
||||||
</Component>
|
</Component>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user