Files
puzzles/makedist.sh
Simon Tatham 8ae25046d8 Ahem. Lots of stuff, including the new OS X sources, was being left
out of the tarball by makedist.sh, causing the downloaded source
tree to fail mkfiles.pl. Worse still, the GTK Makefile wasn't
included, so people _needed_ to run mkfiles.pl! Both now fixed, I
think.

[originally from svn r5205]
2005-01-25 09:07:54 +00:00

23 lines
534 B
Bash
Executable File

#!/bin/sh
perl mkfiles.pl
mkdir tmp.$$
mkdir tmp.$$/puzzles
# Build Windows Help and text versions of the manual for convenience.
halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but
# Build a text version of the HACKING document.
halibut --text=HACKING HACKING.but
for i in *.c *.m *.h *.but *.plist *.icns LICENCE README Recipe \
mkfiles.pl Makefile Makefile.* \
HACKING puzzles.txt puzzles.hlp puzzles.cnt; do
ln -s ../../$i tmp.$$/puzzles
done
tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
rm -rf tmp.$$