Shell script to prepare a source distribution archive.

[originally from svn r4193]
This commit is contained in:
Simon Tatham
2004-05-03 13:03:12 +00:00
parent 25755b09b9
commit 6dc05307d6

14
makedist.sh Executable file
View File

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