Generate short ata format for __GVER_POSTVERSION__ macro

This commit is contained in:
Stas Degteff 2005-10-16 11:31:01 +00:00
parent 09b5f50712
commit 0966e2b54f
2 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,10 @@
# Create a archive 'gpwin-*.zip' (gpvYMMDD.zip) with Win32 (MS Visual C)
# builg of the Golded+.
name=../gpwin-115-`date +%Y%m%d`.zip
date=`date +%Y%m%d`
name=../gpwin-115-${date}.zip
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"
files="${files} docs/copying docs/copying.lib"

View File

@ -3,8 +3,10 @@
# Create a archive 'gpw32-*.zip' (gpwYMMDD.zip) with Win32 (MinGW) build
# of the Golded+.
date=`date +%Y%m%d`
name=../gpw32-115-${date}.zip
name=../gpw32-115-`date +%Y%m%d`.zip
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"
files="${files} docs/copying docs/copying.lib"
@ -25,6 +27,7 @@ printf 'wellknown GoldED mail editor.\r\n' >>bin/File_ID.Diz
printf '------------------------------\r\n' >>bin/File_ID.Diz
printf '*golded-plus.sourceforge.net* \r\n' >>bin/File_ID.Diz
make clean
make
make strip
make docs