projects
/
matthijs
/
upstream
/
blosxom-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1064459
)
Add special scripts directory handling to make-dist.
author
Gavin Carr
<gonzai@users.sourceforge.net>
Tue, 18 Dec 2007 10:46:02 +0000
(10:46 +0000)
committer
Gavin Carr
<gonzai@users.sourceforge.net>
Tue, 18 Dec 2007 10:46:02 +0000
(10:46 +0000)
scripts/make-dist
patch
|
blob
|
history
diff --git
a/scripts/make-dist
b/scripts/make-dist
index c2fdec90f0fb365a52e5b5ff9b4c2419eb8ae9a5..e696637c7058b0a3a32e9f9e52e7b6cd4597a222 100755
(executable)
--- a/
scripts/make-dist
+++ b/
scripts/make-dist
@@
-27,14
+27,18
@@
for SIZE in large medium small; do
# Large
else
# Large
else
- # Copy everything
- find * \( -name $TARBALL -o -name CVS \) -prune -o -type f -exec cp -p {} $TARBALL \;
-
+ # Copy more or less everything
+ find * \( -name $TARBALL -o -name CVS -o -name t -o -name scripts \) -prune -o -type f -exec cp -p {} $TARBALL \;
# Prune unwanted files
# Prune unwanted files
- for i in
make-dist README.cvs blosxom-plugins-*.spec
; do
+ for i in
README.cvs blosxom-plugins-*.spec MANIFEST* *~ *zip *tar.gz
; do
rm -f $TARBALL/$i
done
fi
rm -f $TARBALL/$i
done
fi
+
+ # Copy scripts directory
+ cp -rp scripts $TARBALL
+ rm -rf $TARBALL/scripts/CVS
+ rm -f $TARBALL/scripts/make-dist
# Create tarball
which tar >/dev/null 2>&1
# Create tarball
which tar >/dev/null 2>&1