ref: 6dc05307d6741c2a8a838b9e6bf61607ba4ee6ea
parent: 25755b09b9354ba71bf1c6d83abf0b5df1dfbd40
author: Simon Tatham <anakin@pobox.com>
date: Mon May 3 09:03:12 EDT 2004
Shell script to prepare a source distribution archive. [originally from svn r4193]
--- /dev/null
+++ b/makedist.sh
@@ -1,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.$$