From: Gavin Carr Date: Tue, 18 Dec 2007 10:46:02 +0000 (+0000) Subject: Add special scripts directory handling to make-dist. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=sidebyside;h=dbb502e98a3da7dd1201510da3182c4d63985d47;p=matthijs%2Fupstream%2Fblosxom-plugins.git Add special scripts directory handling to make-dist. --- diff --git a/scripts/make-dist b/scripts/make-dist index c2fdec9..e696637 100755 --- a/scripts/make-dist +++ b/scripts/make-dist @@ -27,14 +27,18 @@ for SIZE in large medium small; do # 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 - 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 + + # 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