Files
puzzles/makedist.sh
Simon Tatham 137c1d7bbd Added a help file, mostly thanks to Jacob.
[originally from svn r4460]
2004-08-16 12:23:56 +00:00

19 lines
410 B
Bash
Executable File

#!/bin/sh
perl mkfiles.pl
mkdir tmp.$$
mkdir tmp.$$/puzzles
# Build Windows Help and text versions of the manual for convenience.
halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but
for i in *.c *.h *.but LICENCE README Recipe mkfiles.pl Makefile.* \
puzzles.txt puzzles.hlp puzzles.cnt; do
ln -s ../../$i tmp.$$/puzzles
done
tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
rm -rf tmp.$$