check result-value of make

This commit is contained in:
Stas Degteff 2011-03-04 19:10:13 +00:00
parent 5a0e122d91
commit 106f71b816
4 changed files with 4 additions and 15 deletions

View File

@ -74,10 +74,7 @@ printf ' *http://golded-plus.sf.net* \r\n' >>${dizfile}
for f in ${bines}; do rm $f; done
make PLATFORM=${platform} clean
make PLATFORM=${platform}
make PLATFORM=${platform} strip
make docs
make PLATFORM=${platform} clean all strip docs || (echo "Error $?" ; exit)
for i in ${bines} ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; fi

View File

@ -44,10 +44,7 @@ printf -- '-----------------------------\r\n' >>${dizfile}
printf ' *http://golded-plus.sf.net* \r\n' >>${dizfile}
for f in ${bines}; do rm $f; done
make PLATFORM=${platform} clean
make PLATFORM=${platform}
make PLATFORM=${platform} strip
make docs
make PLATFORM=${platform} clean all strip docs || (echo "Error $?" ; exit)
for i in ${bines} ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; fi

View File

@ -45,10 +45,7 @@ printf -- '-----------------------------\r\n' >>${dizfile}
printf ' *http://golded-plus.sf.net* \r\n' >>${dizfile}
for f in ${bines}; do rm $f; done
make clean
make
make strip
make docs
make clean all strip docs || (echo "Error $?" ; exit)
for i in ${bines} ; do
if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; fi

View File

@ -41,9 +41,7 @@ printf ' *http://golded-plus.sf.net* \r\n' >>${dizfile}
# make binaries
gmake PLATFORM=${platform} clean
gmake PLATFORM=${platform}
gmake PLATFORM=${platform} strip
gmake PLATFORM=${platform} clean all strip || (echo "Error $?" ; exit)
cd docs
gmake tokentpl.txt tokencfg.txt
cd ..