X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/54e5d4e7b3f7229cb0d16251242772b4dbd9019d..4b24f58222c549b383d23ed86a958c9656218c48:/makedist.sh diff --git a/makedist.sh b/makedist.sh index c71d2e3..f858dea 100755 --- a/makedist.sh +++ b/makedist.sh @@ -5,10 +5,18 @@ 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 + +# Build a text version of the HACKING document. +halibut --text=HACKING HACKING.but + +for i in *.c *.m *.h *.but *.plist *.icns LICENCE README Recipe \ + mkfiles.pl Makefile Makefile.* \ + HACKING 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.$$