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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 48 by siliconforks, Fri Aug 24 01:56:03 2007 UTC revision 558 by siliconforks, Wed Apr 21 23:46:06 2010 UTC
# Line 4  Line 4 
4    
5  version=@VERSION@  version=@VERSION@
6  distdir=jscoverage-${version}  distdir=jscoverage-${version}
 distfile=${distdir}.tar.bz2  
7    
8  rm -fr $distdir  rm -fr $distdir
9  mkdir $distdir  mkdir $distdir
10    
11  # copy all files in SVN  # copy all files in SVN
12  svn ls -R > FILES.tmp  for file in $(svn status -qv | sed 's/.* //' | sort)
 for file in $(svn ls -R)  
13  do  do
14    if [ -f "$file" ]    if [ -f "$file" ]
15    then    then
# Line 20  Line 18 
18  done  done
19    
20  # add generated files  # add generated files
21  cp -a --parents Makefile.in aclocal.m4 configure depcomp install-sh missing $distdir  cp -a --parents aclocal.m4 \
22                    configure \
23                    config.h.in \
24                    Makefile.in config.guess config.sub depcomp install-sh missing \
25                    $distdir
26  cp -a --parents tests/Makefile.in $distdir  cp -a --parents tests/Makefile.in $distdir
27  cp -a --parents doc/instrumented $distdir  cp -a --parents doc/instrumented $distdir
28  cp -a --parents doc/instrumented-inverted $distdir  cp -a --parents doc/instrumented-inverted $distdir
# Line 28  Line 30 
30  # remove unnecessary files  # remove unnecessary files
31  rm $distdir/TIMESTAMP  rm $distdir/TIMESTAMP
32  rm $distdir/bootstrap.sh  rm $distdir/bootstrap.sh
33    rm $distdir/make-maintainer-clean.sh
34  rm -r $distdir/scriptaculous*  rm -r $distdir/scriptaculous*
35    rm -r $distdir/selenium
36    
37  timestamp=`cat TIMESTAMP`  timestamp=`cat TIMESTAMP`
38  find $distdir -exec touch -d "$timestamp" {} \;  find $distdir -exec touch -d "$timestamp" {} \;
39    
40  BZIP2=--best tar jcvf $distfile --numeric-owner --owner=0 --group=0 --exclude=.svn $distdir  tarfile=${distdir}.tar
41    tar cvf $tarfile --owner=0 --group=0 $distdir
42    bzip2 -c $tarfile > ${tarfile}.bz2
43    xz -c $tarfile > ${tarfile}.xz

Legend:
Removed from v.48  
changed lines
  Added in v.558

  ViewVC Help
Powered by ViewVC 1.1.24