mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Shell script to prepare a source distribution archive.
[originally from svn r4193]
This commit is contained in:
14
makedist.sh
Executable file
14
makedist.sh
Executable 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.$$
|
Reference in New Issue
Block a user