https://github.com/virtualagc/virtualagc
Tip revision: 07d422a97efd13e2c9cc89135ae2b9c9c982136f authored by Mike Stewart on 07 August 2019, 06:38:15 UTC
LUM131R9: Added an implementation of PCR 942 (HLROFF) that gives the correct bugger word for bank 33
LUM131R9: Added an implementation of PCR 942 (HLROFF) that gives the correct bugger word for bank 33
Tip revision: 07d422a
CopyApolloSource.sh
#!/bin/bash
# This script is used by the VirtualAGC Makefile to copy AGC or AGS
# stuff into the installation-build directory. The usage is:
# sh CopyApolloSource.sh dirname sourcename ext win
# where sourcename is something like Luminary131 or FP8 and the
# dirname is something .../Resources. EXT is either -pR
# for Mac OS X, or -a for everyone else. Finally, WIN is either
# anything non-blank (for Windows systems) or else blank (for anything
# other than Windows).
SOURCENAME=$2
SOURCEDIR=../$SOURCENAME
DESTDIR=$1/source/$SOURCENAME
EXT=$3
WIN=$4
SRCPATHS="*.binsource *.agc *.aea Apollo32.png *.agc.html *.aea.html"
SRCPATHS="$SRCPATHS *.pad *.cbp Makefile Solarium055.lst"
mkdir $DESTDIR
cp ../Contributed/SyntaxHighlight/Prettify/*.js $DESTDIR
cp ../Contributed/SyntaxHighlight/Prettify/*.css $DESTDIR
for srcpath in ${SRCPATHS}; do
sources=`find $SOURCEDIR -name $srcpath`
if [ ! -z "$sources" ]; then
cp $EXT $sources $DESTDIR
fi
done
#sh ./lst2html.sh $SOURCEDIR/$SOURCENAME.lst $DESTDIR/$SOURCENAME.html $WIN
if [ -f $SOURCEDIR/$SOURCENAME.bin ]; then
cp $EXT $SOURCEDIR/$SOURCENAME.bin $DESTDIR
fi
if [ -f $SOURCEDIR/$SOURCENAME.symtab ]; then
cp $EXT $SOURCEDIR/$SOURCENAME.symtab $DESTDIR/$SOURCENAME.bin.symtab
fi