/[jscoverage]/trunk/make-dist.sh.in
ViewVC logotype

Contents of /trunk/make-dist.sh.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 234 - (show annotations)
Fri Oct 3 02:30:46 2008 UTC (9 years, 10 months ago) by siliconforks
File size: 1021 byte(s)
Add Selenium tests.
1 #!/bin/sh
2
3 set -e
4
5 version=@VERSION@
6 distdir=jscoverage-${version}
7
8 rm -fr $distdir
9 mkdir $distdir
10
11 # copy all files in SVN
12 for file in $(svn status -qv | sed 's/.* //' | sort)
13 do
14 if [ -f "$file" ]
15 then
16 cp -a --parents "$file" $distdir
17 fi
18 done
19
20 # add generated files
21 cp -a --parents aclocal.m4 \
22 config.guess config.sub ltmain.sh \
23 configure \
24 config.h.in \
25 Makefile.in depcomp install-sh missing \
26 $distdir
27 cp -a --parents tests/Makefile.in $distdir
28 cp -a --parents doc/instrumented $distdir
29 cp -a --parents doc/instrumented-inverted $distdir
30
31 # remove unnecessary files
32 rm $distdir/TIMESTAMP
33 rm $distdir/bootstrap.sh
34 rm $distdir/make-maintainer-clean.sh
35 rm -r $distdir/scriptaculous*
36 rm -r $distdir/selenium
37
38 timestamp=`cat TIMESTAMP`
39 find $distdir -exec touch -d "$timestamp" {} \;
40
41 tarfile=${distdir}.tar
42 tar cvf $tarfile --owner=root --group=root $distdir
43 bzip2 -c $tarfile > ${tarfile}.bz2
44 lzma -c $tarfile > ${tarfile}.lzma

  ViewVC Help
Powered by ViewVC 1.1.24