aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakedist.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/makedist.sh b/makedist.sh
new file mode 100755
index 0000000..c71d2e3
--- /dev/null
+++ b/makedist.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+perl mkfiles.pl
+
+mkdir tmp.$$
+mkdir tmp.$$/puzzles
+
+for i in *.c *.h LICENCE README Recipe mkfiles.pl Makefile.*; do
+ ln -s ../../$i tmp.$$/puzzles
+done
+
+tar -C tmp.$$ -chzvf - puzzles > ../puzzles.tar.gz
+
+rm -rf tmp.$$