include symify.exe in the NetHack msdos package

Before using this updated packaging you will need
to do the following (one time):
    sh sys/msdos/fetch-cross-compiler.sh

And you'll need to update your Makefiles as follows.

On Linux:
    sh sys/msdos/setup.sh sys/unix/hints/linux.370

or on macOS;
    sh sys/msdos/setup.sh sys/unix/hints/macOS.370

Create the msdos package with:
    make CROSS_TO_MSDOS=1 package
This commit is contained in:
nhmall
2023-12-18 14:48:10 -05:00
parent daa677f1a3
commit c197dfe29b
2 changed files with 30 additions and 0 deletions

View File

@@ -135,6 +135,31 @@ if [ ! -d djgpp/djgpp-patch ]; then
cd ../../
fi
# get a copy of symify to insert in the final zip package
# to make bug reports more useful
# curl --output djdev205.zip http://www.mirrorservice.org/sites/ftp.delorie.com/pub/djgpp/current/v2/djdev205.zip
if [ ! -d djgpp/symify ]; then
echo "Getting djdev205.zip" ;
cd djgpp
mkdir -p symify
cd symify
if [ "$(uname)" = "Darwin" ]; then
#Mac
curl --output djdev205.zip http://www.mirrorservice.org/sites/ftp.delorie.com/pub/djgpp/current/v2/djdev205.zip
export cmdstatus=$?
else
wget --quiet --no-hsts http://www.mirrorservice.org/sites/ftp.delorie.com/pub/djgpp/current/v2/djdev205.zip
export cmdstatus=$?
fi
ls -l
if [ $cmdstatus -eq 0 ]; then
echo "fetch of symify was successful"
fi
unzip -p djdev205.zip bin/symify.exe >./simify.exe
cd ../../
fi
FONT_VERSION="4.49"
FONT_FILE="terminus-font-$FONT_VERSION"
FONT_LFILE="$FONT_FILE.1"