Check binary files creation

This commit is contained in:
Stas Degteff 2006-02-20 08:39:04 +00:00
parent 6c7f85a10c
commit 6f9de4a046
5 changed files with 34 additions and 10 deletions

View File

@ -22,8 +22,8 @@ if [ ! -f golded3/mygolded.h ]; then
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"
files="${files} docs/copying docs/copying.lib golded.bat"
bines="bin/geddjg.exe bin/gndjg.exe bin/rddtdjg.exe"
files="${bines} docs/copying docs/copying.lib golded.bat"
files="${files} docs/golded.html docs/golded.txt docs/goldnode.html"
files="${files} docs/goldnode.txt docs/license.txt docs/notework.txt"
files="${files} docs/rddt.html docs/rddt.txt docs/readme.txt"
@ -38,12 +38,17 @@ echo 'should be used for testing purpose' >>${file_id}
echo '----------------------------------' >>${file_id}
echo 'http://golded-plus.sourceforge.net' >>${file_id}
rm bin/*djg.exe
rm ${bines}
make PLATFORM=djg clean
make PLATFORM=djg
make PLATFORM=djg strip
#make docs
make docs
for i in ${bines} ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; done
done
#zip -9DXj ${name} ${file_id} $files
#7za a -tzip ${name} ${file_id} $files

View File

@ -15,8 +15,8 @@ if [ ! -f golded3/mygolded.h ]; then
fi
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
files="bin/gedlnx bin/gnlnx bin/rddtlnx"
files="${files} docs/copying docs/copying.lib"
bines="bin/gedlnx bin/gnlnx bin/rddtlnx"
files="${bines} docs/copying docs/copying.lib"
files="${files} docs/golded.html docs/golded.txt docs/goldnode.html"
files="${files} docs/goldnode.txt docs/license.txt docs/notework.txt"
files="${files} docs/rddt.html docs/rddt.txt docs/readme.txt"
@ -37,5 +37,10 @@ make PLATFORM=lnx clean
make PLATFORM=lnx
make PLATFORM=lnx strip
make docs
for i in ${bines} ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; done
done
zip -9DXj ${name} bin/File_ID.Diz $files
cp ${name} ${shortname}

View File

@ -15,8 +15,8 @@ if [ ! -f golded3/mygolded.h ]; then
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"
files="${files} docs/copying docs/copying.lib golded.bat"
bines="Release/bin/gedwin.exe Release/bin/gnwin.exe Release/bin/rddtwin.exe"
files="${bines} docs/copying docs/copying.lib golded.bat"
files="${files} docs/golded.html docs/golded.txt docs/goldnode.html"
files="${files} docs/goldnode.txt docs/license.txt docs/notework.txt"
files="${files} docs/rddt.html docs/rddt.txt docs/readme.txt"
@ -38,5 +38,10 @@ printf '------------------------------\r\n' >>Release/bin/File_ID.Diz
printf ' *http://golded-plus.sf.net* \r\n' >>Release/bin/File_ID.Diz
make docs
for i in ${bines} ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; done
done
zip -9DXj ${name} Release/bin/File_ID.Diz $files
cp ${name} ${shortname}

View File

@ -21,8 +21,8 @@ if [ ! -f golded3/mygolded.h ]; then
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"
files="${files} docs/copying docs/copying.lib golded.bat"
bines="bin/gedcyg.exe bin/gncyg.exe bin/rddtcyg.exe"
files="${bines} docs/copying docs/copying.lib golded.bat"
files="${files} docs/golded.html docs/golded.txt docs/goldnode.html"
files="${files} docs/goldnode.txt docs/license.txt docs/notework.txt"
files="${files} docs/rddt.html docs/rddt.txt docs/readme.txt"
@ -45,5 +45,10 @@ make clean
make
make strip
make docs
for i in ${bines} ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; done
done
zip -9DXj ${name} bin/File_ID.Diz $files
cp ${name} ${shortname}

View File

@ -36,6 +36,10 @@ cd docs
gmake tokentpl.txt tokencfg.txt
cd ..
for i in bin/gedsun bin/gnsun bin/rddtsun ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; done
done
# creating package
if [ -d "$pkgdir" ] ; then rm -rf $pkgdir ; fi
mkdir $pkgdir