X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/54e5d4e7b3f7229cb0d16251242772b4dbd9019d..8a771ea7c4ef1c264a89c6458018209c4d206024:/makedist.sh diff --git a/makedist.sh b/makedist.sh index c71d2e3..0bd1fdf 100755 --- a/makedist.sh +++ b/makedist.sh @@ -5,10 +5,14 @@ perl mkfiles.pl mkdir tmp.$$ mkdir tmp.$$/puzzles -for i in *.c *.h LICENCE README Recipe mkfiles.pl Makefile.*; do +# 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.$$ -chzvf - puzzles > ../puzzles.tar.gz +tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz rm -rf tmp.$$