--- gforth/iss.sh 2000/12/10 22:59:12 1.1 +++ gforth/iss.sh 2012/10/07 21:07:18 1.28 @@ -1,74 +1,159 @@ -#!/bin/bash -# This is the horror shell script to create an automatic install for -# Windoze. -# Note that I use sed to create a setup file - -# use iss.sh >iss.txt -# copy the resulting iss.txt to the location of your Windows installation -# of Gforth, and start the setup compiler there. - -cat <gforth.iss +# copy the resulting *.iss to the location of your Windows installation +# of Gforth, and start the setup compiler there. + +VERSION=$(cat version) + +sed "s/@PACKAGE_VERSION@/$VERSION/g" gforthmi.sh + +for i in lib/gforth/$VERSION/libcc-named/*.la +do + sed "s/dependency_libs='.*'/dependency_libs=''/g" <$i >$i+ + mv $i+ $i +done + +cat <README.txt