version 1.8, 2003/08/30 22:26:39
|
version 1.10, 2006/04/08 13:48:22
|
Line 1
|
Line 1
|
#!/bin/bash |
#!/bin/bash |
|
|
#Copyright (C) 2000,2003 Free Software Foundation, Inc. |
#Copyright (C) 2000,2003,2006 Free Software Foundation, Inc. |
|
|
#This file is part of Gforth. |
#This file is part of Gforth. |
|
|
Line 22
|
Line 22
|
# Windoze. |
# Windoze. |
# Note that I use sed to create a setup file |
# Note that I use sed to create a setup file |
|
|
# use iss.sh >iss.txt |
# use iss.sh >gforth.iss |
# copy the resulting iss.txt to the location of your Windows installation |
# copy the resulting *.iss to the location of your Windows installation |
# of Gforth, and start the setup compiler there. |
# of Gforth, and start the setup compiler there. |
|
|
cat <<EOT |
cat <<EOT |
Line 33 cat <<EOT
|
Line 33 cat <<EOT
|
[Setup] |
[Setup] |
AppName=Gforth |
AppName=Gforth |
AppVerName=$(./gforth -v 2>&1) |
AppVerName=$(./gforth -v 2>&1) |
AppCopyright=Copyright © 1995,1996,1997,1998,2000,2003 Free Software Foundation |
AppCopyright=Copyright © 1995,1996,1997,1998,2000,2003,2006 Free Software Foundation |
DefaultDirName={pf}\gforth |
DefaultDirName={pf}\gforth |
DefaultGroupName=Gforth |
DefaultGroupName=Gforth |
AllowNoIcons=1 |
AllowNoIcons=1 |
Line 81 done) | sed \
|
Line 81 done) | sed \
|
-e 's,^\(..*\)\\\([^\\]*\)$,Source: "\1\\\2"; DestDir: "{app}\\\1",g' \ |
-e 's,^\(..*\)\\\([^\\]*\)$,Source: "\1\\\2"; DestDir: "{app}\\\1",g' \ |
-e 's,^\([^\\]*\)$,Source: "\1"; DestDir: "{app}",g' \ |
-e 's,^\([^\\]*\)$,Source: "\1"; DestDir: "{app}",g' \ |
-e 's,^\(.*\.[oib]".*\),\1; Components: objects,g' \ |
-e 's,^\(.*\.[oib]".*\),\1; Components: objects,g' \ |
-e 's,^\(.*\.ps".*\),\1; Components: print,g' \ |
-e 's,^\(.*\.p\)s\(".*\),\1df\2; Components: print,g' \ |
-e 's,^\(.*\.info.*".*\),\1; Components: info,g') |
-e 's,^\(.*\.info.*".*\),\1; Components: info,g') |
|
|
[Icons] |
[Icons] |