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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 58 - (show annotations)
Fri Aug 24 19:08:02 2007 UTC (11 years, 2 months ago) by siliconforks
File size: 799 byte(s)
Change `svn ls' to `svn status'.

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 for file in $(svn status -qv | sed 's/.* //' | sort)
14 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 cp -a --parents doc/instrumented-inverted $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