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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Wed Aug 1 13:51:53 2007 UTC (12 years, 3 months ago) by siliconforks
File size: 742 byte(s)
Initial import.

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     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    
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