54e5d4e7 |
1 | #!/bin/sh |
2 | |
3 | perl mkfiles.pl |
4 | |
5 | mkdir tmp.$$ |
6 | mkdir tmp.$$/puzzles |
7 | |
e91825f8 |
8 | # Build Windows Help and text versions of the manual for convenience. |
9 | halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but |
10 | |
d0e5f156 |
11 | # Build a text version of the HACKING document. |
12 | halibut --text=HACKING HACKING.but |
13 | |
14 | for i in *.c *.m *.h *.but *.plist *.icns LICENCE README Recipe \ |
15 | mkfiles.pl Makefile Makefile.* \ |
16 | HACKING puzzles.txt puzzles.hlp puzzles.cnt; do |
54e5d4e7 |
17 | ln -s ../../$i tmp.$$/puzzles |
18 | done |
19 | |
9849096c |
20 | tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz |
54e5d4e7 |
21 | |
22 | rm -rf tmp.$$ |