PageRenderTime 47ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/make-dist.sh.in

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
Autoconf | 43 lines | 31 code | 8 blank | 4 comment | 2 complexity | 4ca0a367a48c76d75848c64a08225ee3 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. #!/bin/sh
  2. set -e
  3. version=@VERSION@
  4. distdir=jscoverage-${version}
  5. rm -fr $distdir
  6. mkdir $distdir
  7. # copy all files in SVN
  8. for file in $(svn status -qv | sed 's/.* //' | sort)
  9. do
  10. if [ -f "$file" ]
  11. then
  12. cp -a --parents "$file" $distdir
  13. fi
  14. done
  15. # add generated files
  16. cp -a --parents aclocal.m4 \
  17. configure \
  18. config.h.in \
  19. Makefile.in config.guess config.sub depcomp install-sh missing \
  20. $distdir
  21. cp -a --parents tests/Makefile.in $distdir
  22. cp -a --parents doc/instrumented $distdir
  23. cp -a --parents doc/instrumented-inverted $distdir
  24. # remove unnecessary files
  25. rm $distdir/TIMESTAMP
  26. rm $distdir/bootstrap.sh
  27. rm $distdir/make-maintainer-clean.sh
  28. rm -r $distdir/scriptaculous*
  29. rm -r $distdir/selenium
  30. timestamp=`cat TIMESTAMP`
  31. find $distdir -exec touch -d "$timestamp" {} \;
  32. tarfile=${distdir}.tar
  33. tar cvf $tarfile --owner=root --group=root $distdir
  34. bzip2 -c $tarfile > ${tarfile}.bz2
  35. lzma -c $tarfile > ${tarfile}.lzma