diff --git a/dist-gpv.sh b/dist-gpv.sh index 742f678..24bc874 100755 --- a/dist-gpv.sh +++ b/dist-gpv.sh @@ -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" diff --git a/dist-gpw.sh b/dist-gpw.sh index c79d593..334cfe9 100755 --- a/dist-gpw.sh +++ b/dist-gpw.sh @@ -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