aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-05-03 13:03:12 +0000
committerSimon Tatham <anakin@pobox.com>2004-05-03 13:03:12 +0000
commit6dc05307d6741c2a8a838b9e6bf61607ba4ee6ea (patch)
tree48288b089b79d4dcf106c2e9cd38cf02cd56d89c
parent25755b09b9354ba71bf1c6d83abf0b5df1dfbd40 (diff)
downloadpuzzles-6dc05307d6741c2a8a838b9e6bf61607ba4ee6ea.zip
puzzles-6dc05307d6741c2a8a838b9e6bf61607ba4ee6ea.tar.gz
puzzles-6dc05307d6741c2a8a838b9e6bf61607ba4ee6ea.tar.bz2
puzzles-6dc05307d6741c2a8a838b9e6bf61607ba4ee6ea.tar.xz
Shell script to prepare a source distribution archive.
[originally from svn r4193]
-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.$$