chiark / gitweb /
Ahem. Lots of stuff, including the new OS X sources, was being left
[sgt-puzzles.git] / 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 # 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
17   ln -s ../../$i tmp.$$/puzzles
18 done
19
20 tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
21
22 rm -rf tmp.$$