Fix building scripts: create mygolded.h if it's not exists
This commit is contained in:
parent
e0a14e941d
commit
1c0ecf3e4a
@ -17,6 +17,9 @@ file_id=bin/File_ID.Diz
|
||||
|
||||
echo Build a Golded+/DPMI binary package: ${name} and ${shortname}
|
||||
|
||||
if [ ! -f golded3/mygolded.h ]; then
|
||||
cp golded3/mygolded.__h golded3/mygolded.h
|
||||
fi
|
||||
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
|
||||
|
||||
files="bin/geddjg.exe bin/gndjg.exe bin/rddtdjg.exe"
|
||||
|
@ -10,6 +10,9 @@ name=../gpl115-${date}.zip
|
||||
|
||||
echo Build a Golded+/lnx binary package: ${name} and ${shortname}
|
||||
|
||||
if [ ! -f golded3/mygolded.h ]; then
|
||||
cp golded3/mygolded.__h golded3/mygolded.h
|
||||
fi
|
||||
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
|
||||
|
||||
files="bin/gedlnx bin/gnlnx bin/rddtlnx"
|
||||
|
@ -10,6 +10,9 @@ shortname=../gpv${shortdate}.zip
|
||||
|
||||
echo Build a Golded+/w32mvc binary package: ${name} and ${shortname}
|
||||
|
||||
if [ ! -f golded3/mygolded.h ]; then
|
||||
cp golded3/mygolded.__h golded3/mygolded.h
|
||||
fi
|
||||
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
|
||||
|
||||
files="Release/bin/gedwin.exe Release/bin/gnwin.exe Release/bin/rddtwin.exe"
|
||||
|
@ -16,6 +16,9 @@ shortname=../gpw${shortdate}.zip
|
||||
|
||||
echo Build a Golded+/w32mingw binary package: ${name} and ${shortname}
|
||||
|
||||
if [ ! -f golded3/mygolded.h ]; then
|
||||
cp golded3/mygolded.__h golded3/mygolded.h
|
||||
fi
|
||||
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
|
||||
|
||||
files="bin/gedcyg.exe bin/gncyg.exe bin/rddtcyg.exe"
|
||||
|
@ -12,6 +12,9 @@ pkgname=golded-plus-x86-115-${date}.pkg
|
||||
|
||||
echo Build a Golded+/sunX86 binary package: ${name} (${pkgname})
|
||||
|
||||
if [ ! -f golded3/mygolded.h ]; then
|
||||
cp golded3/mygolded.__h golded3/mygolded.h
|
||||
fi
|
||||
gsed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
|
||||
|
||||
printf "GoldED+1.1.5 [`uname` `uname -i` pkg]\r\n" >bin/File_ID.Diz
|
||||
|
Reference in New Issue
Block a user