chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Shell script to prepare a source distribution archive.
[sgt-puzzles.git]
/
makedist.sh
1
#!/bin/sh
2
3
perl mkfiles.pl
4
5
mkdir tmp.$$
6
mkdir tmp.$$/puzzles
7
8
for i in *.c *.h LICENCE README Recipe mkfiles.pl Makefile.*; do
9
ln -s ../../$i tmp.$$/puzzles
10
done
11
12
tar -C tmp.$$ -chzvf - puzzles > ../puzzles.tar.gz
13
14
rm -rf tmp.$$