mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-23 00:42:13 -07:00
Rename the 'aux' subdirectory to avoid Windows restrictions.
James Harvey points out that Windows still forbids calling a file 'aux' in any context. Even a directory. Gaaah.
This commit is contained in:
23
auxiliary/hatgen-images.sh
Executable file
23
auxiliary/hatgen-images.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Regenerate all the SVG images in the aux/doc directory for hats.html
|
||||
# and hatmap.html.
|
||||
|
||||
set -e
|
||||
|
||||
hatgen=$1
|
||||
|
||||
if ! test -x "$hatgen"; then
|
||||
echo "Provide pathname to hatgen as an argument" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for tile in H T P F; do
|
||||
"$hatgen" "$tile" > single-"$tile".svg
|
||||
"$hatgen" c"$tile" > expanded-"$tile".svg
|
||||
"$hatgen" h"$tile" > hats-single-"$tile".svg
|
||||
"$hatgen" H"$tile" > kitemap-"$tile".svg
|
||||
"$hatgen" C"$tile" > metamap-"$tile".svg
|
||||
done
|
||||
|
||||
"$hatgen" --hat > hat-kites.svg
|
Reference in New Issue
Block a user