use internal macro for date of sources

This commit is contained in:
Stas Degteff 2011-02-13 21:54:37 +00:00
parent bcccbdc6ea
commit 14dc7d91ee
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ if [ ! -f golded3/mygolded.h ]; then
echo "golded3/mygolded.h is created now. Please edit this file"
exit 1
fi
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
#sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
bines="Release/bin/gedwin.exe Release/bin/gnwin.exe Release/bin/rddtwin.exe"
files="${bines} docs/copying docs/copying.lib golded.bat"

View File

@ -22,7 +22,7 @@ if [ ! -f golded3/mygolded.h ]; then
echo "golded3/mygolded.h is created now. Please edit this file"
exit 1
fi
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
#sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
bines="bin/gedcyg.exe bin/gncyg.exe bin/rddtcyg.exe"
files="${bines} docs/copying docs/copying.lib golded.bat"

View File

@ -18,7 +18,7 @@ if [ ! -f golded3/mygolded.h ]; then
echo "golded3/mygolded.h is created now. Please edit this file"
exit 1
fi
gsed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
#gsed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
if [ ! -d "bin" ] ; then mkdir bin; fi