Added a help file, mostly thanks to Jacob.
[sgt/puzzles] / makedist.sh
1 #!/bin/sh
2
3 perl mkfiles.pl
4
5 mkdir tmp.$$
6 mkdir tmp.$$/puzzles
7
8 # Build Windows Help and text versions of the manual for convenience.
9 halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but
10
11 for i in *.c *.h *.but LICENCE README Recipe mkfiles.pl Makefile.* \
12 puzzles.txt puzzles.hlp puzzles.cnt; do
13 ln -s ../../$i tmp.$$/puzzles
14 done
15
16 tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
17
18 rm -rf tmp.$$