Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (35 sloc) 0.993 kB
#!/bin/sh
set -e
version=@VERSION@
distdir=jscoverage-${version}
rm -fr $distdir
mkdir $distdir
# copy all files in SVN
for file in $(svn status -qv | sed 's/.* //' | sort)
do
if [ -f "$file" ]
then
cp -a --parents "$file" $distdir
fi
done
# add generated files
cp -a --parents aclocal.m4 \
configure \
config.h.in \
Makefile.in config.guess config.sub depcomp install-sh missing \
$distdir
cp -a --parents tests/Makefile.in $distdir
cp -a --parents doc/instrumented $distdir
cp -a --parents doc/instrumented-inverted $distdir
# remove unnecessary files
rm $distdir/TIMESTAMP
rm $distdir/bootstrap.sh
rm $distdir/make-maintainer-clean.sh
rm -r $distdir/scriptaculous*
rm -r $distdir/selenium
timestamp=`cat TIMESTAMP`
find $distdir -exec touch -d "$timestamp" {} \;
tarfile=${distdir}.tar
tar cvf $tarfile --owner=root --group=root $distdir
bzip2 -c $tarfile > ${tarfile}.bz2
lzma -c $tarfile > ${tarfile}.lzma
Jump to Line
Something went wrong with that request. Please try again.