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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (show annotations)
Fri Aug 24 01:56:03 2007 UTC (12 years, 1 month ago) by siliconforks
File size: 793 byte(s)
Add doc/instrumented-inverted to distribution.

1 #!/bin/sh
2
3 set -e
4
5 version=@VERSION@
6 distdir=jscoverage-${version}
7 distfile=${distdir}.tar.bz2
8
9 rm -fr $distdir
10 mkdir $distdir
11
12 # copy all files in SVN
13 svn ls -R > FILES.tmp
14 for file in $(svn ls -R)
15 do
16 if [ -f "$file" ]
17 then
18 cp -a --parents "$file" $distdir
19 fi
20 done
21
22 # add generated files
23 cp -a --parents Makefile.in aclocal.m4 configure depcomp install-sh missing $distdir
24 cp -a --parents tests/Makefile.in $distdir
25 cp -a --parents doc/instrumented $distdir
26 cp -a --parents doc/instrumented-inverted $distdir
27
28 # remove unnecessary files
29 rm $distdir/TIMESTAMP
30 rm $distdir/bootstrap.sh
31 rm -r $distdir/scriptaculous*
32
33 timestamp=`cat TIMESTAMP`
34 find $distdir -exec touch -d "$timestamp" {} \;
35
36 BZIP2=--best tar jcvf $distfile --numeric-owner --owner=0 --group=0 --exclude=.svn $distdir

  ViewVC Help
Powered by ViewVC 1.1.24