https://github.com/virtualagc/virtualagc
Revision 62edbcc8c6021789df156749d71229308ba4313a authored by Ronald Burkey on 08 August 2021, 00:25:00 UTC, committed by GitHub on 08 August 2021, 00:25:00 UTC
yaAGCb1: Fixed a few errors identified by SELF-CHECK
Tip revision: 62edbcc8c6021789df156749d71229308ba4313a authored by Ronald Burkey on 08 August 2021, 00:25:00 UTC
Merge pull request #1149 from virtualagc/yagcb1_fixes
Merge pull request #1149 from virtualagc/yagcb1_fixes
Tip revision: 62edbcc
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
Computing file changes ...