chiark / gitweb /
Shell script to prepare a source distribution archive.
authorSimon Tatham <anakin@pobox.com>
Mon, 3 May 2004 13:03:12 +0000 (13:03 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 3 May 2004 13:03:12 +0000 (13:03 +0000)
[originally from svn r4193]

makedist.sh [new file with mode: 0755]

diff --git a/makedist.sh b/makedist.sh
new file mode 100755 (executable)
index 0000000..c71d2e3
--- /dev/null
@@ -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.$$