Added automatic determination of the SVN revision number if a build
[sgt/puzzles] / makedist.sh
CommitLineData
54e5d4e7 1#!/bin/sh
2
3perl mkfiles.pl
4
5mkdir tmp.$$
6mkdir tmp.$$/puzzles
7
e91825f8 8# Build Windows Help and text versions of the manual for convenience.
9halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but
10
d0e5f156 11# Build a text version of the HACKING document.
12halibut --text=HACKING HACKING.but
13
14for 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
18done
19
9849096c 20tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
54e5d4e7 21
22rm -rf tmp.$$