~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shell script to prepare a source distribution archive.
[sgt/puzzles]
/
makedist.sh
diff --git a/makedist.sh
b/makedist.sh
new file mode 100755
(executable)
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.$$