Shell script to prepare a source distribution archive.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 3 May 2004 13:03:12 +0000 (13:03 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 3 May 2004 13:03:12 +0000 (13:03 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4193 cda61777-01e9-0310-a592-d414129be87e

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.$$