From: simon Date: Mon, 3 May 2004 13:03:12 +0000 (+0000) Subject: Shell script to prepare a source distribution archive. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/54e5d4e7b3f7229cb0d16251242772b4dbd9019d Shell script to prepare a source distribution archive. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4193 cda61777-01e9-0310-a592-d414129be87e --- 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.$$