/[jscoverage]/branches/jscoverage-0.3.x/make-dist.sh.in
ViewVC logotype

Annotation of /branches/jscoverage-0.3.x/make-dist.sh.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (hide annotations)
Sat Jun 28 18:50:44 2008 UTC (12 years, 5 months ago) by siliconforks
File size: 799 byte(s)
Create 0.3.x branch.

1 siliconforks 2 #!/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 siliconforks 58 for file in $(svn status -qv | sed 's/.* //' | sort)
14 siliconforks 2 do
15     if [ -f "$file" ]
16     then
17     cp -a --parents "$file" $distdir
18     fi
19     done
20    
21     # add generated files
22     cp -a --parents Makefile.in aclocal.m4 configure depcomp install-sh missing $distdir
23     cp -a --parents tests/Makefile.in $distdir
24     cp -a --parents doc/instrumented $distdir
25 siliconforks 48 cp -a --parents doc/instrumented-inverted $distdir
26 siliconforks 2
27     # remove unnecessary files
28     rm $distdir/TIMESTAMP
29     rm $distdir/bootstrap.sh
30     rm -r $distdir/scriptaculous*
31    
32     timestamp=`cat TIMESTAMP`
33     find $distdir -exec touch -d "$timestamp" {} \;
34    
35     BZIP2=--best tar jcvf $distfile --numeric-owner --owner=0 --group=0 --exclude=.svn $distdir

  ViewVC Help
Powered by ViewVC 1.1.24