| #!/bin/bash |
#!/bin/bash |
| |
|
| |
#Copyright (C) 2000,2003 Free Software Foundation, Inc. |
| |
|
| |
#This file is part of Gforth. |
| |
|
| |
#Gforth is free software; you can redistribute it and/or |
| |
#modify it under the terms of the GNU General Public License |
| |
#as published by the Free Software Foundation; either version 2 |
| |
#of the License, or (at your option) any later version. |
| |
|
| |
#This program is distributed in the hope that it will be useful, |
| |
#but WITHOUT ANY WARRANTY; without even the implied warranty of |
| |
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the |
| |
#GNU General Public License for more details. |
| |
|
| |
#You should have received a copy of the GNU General Public License |
| |
#along with this program; if not, write to the Free Software |
| |
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |
| |
|
| # This is the horror shell script to create an automatic install for |
# This is the horror shell script to create an automatic install for |
| # Windoze. |
# Windoze. |
| # Note that I use sed to create a setup file |
# Note that I use sed to create a setup file |
| [Setup] |
[Setup] |
| Bits=32 |
Bits=32 |
| AppName=Gforth |
AppName=Gforth |
| AppVerName=gforth 0.5.0 |
AppVerName=$(./gforth -v 2>&1) |
| AppCopyright=Copyright © 1995-2000 by Free Software Foundation |
AppCopyright=Copyright © 1995,1996,1997,1998,2000,2003 Free Software Foundation |
| DefaultDirName=gforth |
DefaultDirName=gforth |
| DefaultGroupName=Gforth |
DefaultGroupName=Gforth |
| AllowNoIcons=1 |
AllowNoIcons=1 |
| "README.txt", "{app}\README.txt", copy_normal, flag_isreadme |
"README.txt", "{app}\README.txt", copy_normal, flag_isreadme |
| "cygwin1.dll", "{app}\cygwin1.dll", copy_normal, |
"cygwin1.dll", "{app}\cygwin1.dll", copy_normal, |
| "gforth.fi", "{app}\gforth.fi", copy_normal, |
"gforth.fi", "{app}\gforth.fi", copy_normal, |
| $(make distfiles -f Makedist | tr ' ' '\n' | (while read i; do |
$(make distfiles -f Makedist EXE=.exe | tr ' ' '\n' | (while read i; do |
| if [ ! -d $i ]; then echo $i; fi |
if [ ! -d $i ]; then echo $i; fi |
| done) | sed \ |
done) | sed \ |
| -e 's:/:\\:g' \ |
-e 's:/:\\:g' \ |
| ; "Custom icon filename (leave blank to use the default icon)", Icon index |
; "Custom icon filename (leave blank to use the default icon)", Icon index |
| "Gforth", "{app}\gforth.exe", "", "{app}", , 0 |
"Gforth", "{app}\gforth.exe", "", "{app}", , 0 |
| "Gforth-fast", "{app}\gforth-fast.exe", "", "{app}", , 0 |
"Gforth-fast", "{app}\gforth-fast.exe", "", "{app}", , 0 |
| |
"Gforth-dict", "{app}\gforth-dict.exe", "", "{app}", , 0 |
| |
"Gforth-itc", "{app}\gforth-itc.exe", "", "{app}", , 0 |
| |
|
| [Run] |
[Run] |
| "{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-fast.exe", |
"{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-fast.exe", |
| "{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-ditc.exe", |
"{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-ditc.exe", |
| |
"{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-itc.exe", |
| "{app}\gforth-fast.exe", "{app}\fixpath.fs {app} gforth.exe", |
"{app}\gforth-fast.exe", "{app}\fixpath.fs {app} gforth.exe", |
| |
|
| [Registry] |
[Registry] |