Updates for OS X port (including updating copyright statements).
[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
11for i in *.c *.h *.but LICENCE README Recipe mkfiles.pl Makefile.* \
12 puzzles.txt puzzles.hlp puzzles.cnt; do
54e5d4e7 13 ln -s ../../$i tmp.$$/puzzles
14done
15
9849096c 16tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
54e5d4e7 17
18rm -rf tmp.$$