From: Simon Tatham Date: Mon, 3 May 2004 13:03:12 +0000 (+0000) Subject: Shell script to prepare a source distribution archive. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=6dc05307d6741c2a8a838b9e6bf61607ba4ee6ea;p=sgt-puzzles.git Shell script to prepare a source distribution archive. [originally from svn r4193] --- 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.$$