~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates for OS X port (including updating copyright statements).
[sgt/puzzles]
/
makedist.sh
diff --git
a/makedist.sh
b/makedist.sh
index
c71d2e3
..
0bd1fdf
100755
(executable)
--- a/
makedist.sh
+++ b/
makedist.sh
@@
-5,10
+5,14
@@
perl mkfiles.pl
mkdir tmp.$$
mkdir tmp.$$/puzzles
mkdir tmp.$$
mkdir tmp.$$/puzzles
-for i in *.c *.h LICENCE README Recipe mkfiles.pl Makefile.*; do
+# Build Windows Help and text versions of the manual for convenience.
+halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but
+
+for i in *.c *.h *.but LICENCE README Recipe mkfiles.pl Makefile.* \
+ puzzles.txt puzzles.hlp puzzles.cnt; do
ln -s ../../$i tmp.$$/puzzles
done
ln -s ../../$i tmp.$$/puzzles
done
-tar -C tmp.$$ -chz
v
f - puzzles > ../puzzles.tar.gz
+tar -C tmp.$$ -chzf - puzzles > ../puzzles.tar.gz
rm -rf tmp.$$
rm -rf tmp.$$