mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Package debug binaries in synthesis.
git-svn-id: https://svn.eduke32.com/eduke32@1714 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ee6548e6a9
commit
5b987e8770
1 changed files with 34 additions and 8 deletions
|
@ -10,7 +10,7 @@ clean=veryclean
|
||||||
|
|
||||||
# the following file paths are relative to $source
|
# the following file paths are relative to $source
|
||||||
targets=( eduke32.exe mapster32.exe )
|
targets=( eduke32.exe mapster32.exe )
|
||||||
bin_packaged=( eduke32.exe mapster32.exe SEHELP.HLP STHELP.HLP names.h buildlic.txt GNU.TXT m32help.hlp nedmalloc.dll samples/* )
|
bin_packaged=( eduke32.exe eduke32.debug.exe mapster32.exe mapster32.debug.exe SEHELP.HLP STHELP.HLP names.h buildlic.txt GNU.TXT m32help.hlp nedmalloc.dll samples/* )
|
||||||
not_src_packaged=( psd source/jaudiolib/third-party/vorbis.framework/Versions/A/vorbis Apple )
|
not_src_packaged=( psd source/jaudiolib/third-party/vorbis.framework/Versions/A/vorbis Apple )
|
||||||
|
|
||||||
# group that owns the resulting packages
|
# group that owns the resulting packages
|
||||||
|
@ -67,7 +67,33 @@ then
|
||||||
|
|
||||||
cd $top/$source
|
cd $top/$source
|
||||||
|
|
||||||
# clean the tree and build
|
# remove possible old debug binaries
|
||||||
|
echo rm eduke32.debug.exe
|
||||||
|
rm eduke32.debug.exe
|
||||||
|
echo rm mapster32.debug.exe
|
||||||
|
rm mapster32.debug.exe
|
||||||
|
|
||||||
|
# clean the tree and build debug first
|
||||||
|
echo "${make[@]}" RELEASE=0 $clean all
|
||||||
|
"${make[@]}" RELEASE=0 $clean all
|
||||||
|
|
||||||
|
# make sure all the targets were produced
|
||||||
|
for i in "${targets[@]}"; do
|
||||||
|
if [ ! -e $i ]
|
||||||
|
then
|
||||||
|
echo "Build failed! Bailing out..."
|
||||||
|
rm -r $lockfile
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# move the debug binaries out of the way
|
||||||
|
echo mv eduke32.exe eduke32.debug.exe
|
||||||
|
mv eduke32.exe eduke32.debug.exe
|
||||||
|
echo mv mapster32.exe mapster32.debug.exe
|
||||||
|
mv mapster32.exe mapster32.debug.exe
|
||||||
|
|
||||||
|
# clean the tree and build release
|
||||||
echo "${make[@]}" $clean all
|
echo "${make[@]}" $clean all
|
||||||
"${make[@]}" $clean all
|
"${make[@]}" $clean all
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue