PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre4/installer/mk_source.sh

#
Shell | 19 lines | 13 code | 4 blank | 2 comment | 1 complexity | 8de8f8ad2d7928ae887bc1366d9086ad MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. #!/bin/sh
  2. # Creates the jEdit source tarball.
  3. if [ "$1" = "" ]; then
  4. echo "Must specify a command line parameter."
  5. exit 1
  6. fi
  7. ant clean
  8. rm -f doc/{FAQ,users-guide}/{toc.xml,word-index.xml,*.html}
  9. cd
  10. tar cvfz jedit${1}source.tar.gz `find jEdit -type f \! \( -name Entries \
  11. -o -name Root -o -name Entries.Static -o -name Repository \
  12. -o -name Baserev \
  13. -o -name \*.class -o -name \*.jar -o -name .\*.marks -o -name .xvpics \
  14. -o -name \*.exe -o -name \*.dll -o -name \*.dl_ \
  15. -o -name .cvsignore -o -name tags \)`