use internal macro for date of sources
This commit is contained in:
parent
bcccbdc6ea
commit
14dc7d91ee
@ -16,7 +16,7 @@ if [ ! -f golded3/mygolded.h ]; then
|
|||||||
echo "golded3/mygolded.h is created now. Please edit this file"
|
echo "golded3/mygolded.h is created now. Please edit this file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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"
|
bines="Release/bin/gedwin.exe Release/bin/gnwin.exe Release/bin/rddtwin.exe"
|
||||||
files="${bines} docs/copying docs/copying.lib golded.bat"
|
files="${bines} docs/copying docs/copying.lib golded.bat"
|
||||||
|
@ -22,7 +22,7 @@ if [ ! -f golded3/mygolded.h ]; then
|
|||||||
echo "golded3/mygolded.h is created now. Please edit this file"
|
echo "golded3/mygolded.h is created now. Please edit this file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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"
|
bines="bin/gedcyg.exe bin/gncyg.exe bin/rddtcyg.exe"
|
||||||
files="${bines} docs/copying docs/copying.lib golded.bat"
|
files="${bines} docs/copying docs/copying.lib golded.bat"
|
||||||
|
@ -18,7 +18,7 @@ if [ ! -f golded3/mygolded.h ]; then
|
|||||||
echo "golded3/mygolded.h is created now. Please edit this file"
|
echo "golded3/mygolded.h is created now. Please edit this file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
if [ ! -d "bin" ] ; then mkdir bin; fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user