Updates for OS X port (including updating copyright statements).
[sgt/puzzles] / makedist.sh
... / ...
CommitLineData
1#!/bin/sh
2
3perl mkfiles.pl
4
5mkdir tmp.$$
6mkdir tmp.$$/puzzles
7
8# Build Windows Help and text versions of the manual for convenience.
9halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but
10
11for i in *.c *.h *.but LICENCE README Recipe mkfiles.pl Makefile.* \
12 puzzles.txt puzzles.hlp puzzles.cnt; do
13 ln -s ../../$i tmp.$$/puzzles
14done
15
16tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
17
18rm -rf tmp.$$