https://github.com/virtualagc/virtualagc
Revision 078c79d8734a9ed2860303a7c1662004284fe853 authored by Ron Burkey on 07 August 2022, 15:04:04 UTC, committed by Ron Burkey on 07 August 2022, 15:04:04 UTC
assembly listings from yaASM and yaLEMAP. Added some debugging messages
to 'make install'.  Tweaked debugging messages that VirtualAGC embeds in
'simulate'.  Verified buildability in Mint 21, 20, 19, 17, and verified
buildability using clang in Mint 17.
1 parent 6bb1acc
Raw File
Tip revision: 078c79d8734a9ed2860303a7c1662004284fe853 authored by Ron Burkey on 07 August 2022, 15:04:04 UTC
Fixed a potential string-overflow bug in yaASM. Removed timestamps from
Tip revision: 078c79d
transferListings.sh
#!/bin/bash
# This is a special-purpose script which is used to copy AGC/AEA program
# listings created by a complete build of the virtualagc master source 
# tree to the program-listings directory of the virtualagc gh-pages branch
# (i.e., the website).  It is assumed that the directory name for the 
# gh-pages branch is the same as for the master source tree, except with a
# suffixed "-web".
#
# What gets transferred is any *.agc.html or *.aea.html files files found
# under virtualagc/VirtualAGC/temp/lVirtualAGC/Resources/source/, to
# virtualagc-web/listings/, so a 'make' must have been previously successful,
# or else the source directory won't even exist.
#
# Regardless of timestamp (within a certain, very large range) only files with
# a changed checksum get transferred.

DEST=`pwd`-web/listings

cd VirtualAGC/temp/lVirtualAGC/Resources/source
rename 's/[.]html$/htmltemp/' Validation/*.html
for n in aea agc
do
	find -name "*."$n".html" -exec rsync -av -c --modify-window=1000000000  {} $DEST/{} \;
done
rename 's/[.]htmltemp$/html/' Validation/*.html
cd -
back to top