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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 194 - (hide annotations)
Mon Sep 29 00:44:38 2008 UTC (10 years, 11 months ago) by siliconforks
File size: 921 byte(s)
Remove some unnecessary files and add lzma compression.
1 siliconforks 2 #!/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 siliconforks 58 for file in $(svn status -qv | sed 's/.* //' | sort)
13 siliconforks 2 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 Makefile.in aclocal.m4 configure depcomp install-sh missing $distdir
22     cp -a --parents tests/Makefile.in $distdir
23     cp -a --parents doc/instrumented $distdir
24 siliconforks 48 cp -a --parents doc/instrumented-inverted $distdir
25 siliconforks 2
26     # remove unnecessary files
27     rm $distdir/TIMESTAMP
28     rm $distdir/bootstrap.sh
29 siliconforks 194 rm $distdir/make-bin-dist.sh.in
30     rm $distdir/make-dist.sh.in
31     rm $distdir/make-maintainer-clean.sh
32 siliconforks 2 rm -r $distdir/scriptaculous*
33    
34     timestamp=`cat TIMESTAMP`
35     find $distdir -exec touch -d "$timestamp" {} \;
36    
37 siliconforks 194 tarfile=${distdir}.tar
38     tar cvf $tarfile --owner=root --group=root $distdir
39     bzip2 -c $tarfile > ${tarfile}.bz2
40     lzma -c $tarfile > ${tarfile}.lzma

  ViewVC Help
Powered by ViewVC 1.1.24