/jEdit/tags/jedit-4-0-pre5/installer/mk_source.sh
Shell | 19 lines | 13 code | 4 blank | 2 comment | 1 complexity | 4456a7d42be722e5857148adff7f76e2 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
- #!/bin/sh
- # Creates the jEdit source tarball.
- if [ "$1" = "" ]; then
- echo "Must specify a command line parameter."
- exit 1
- fi
- ant clean
- rm -f doc/{FAQ,users-guide}/{toc.xml,word-index.xml,*.html}
- cd
- tar cvfz jedit${1}source.tar.gz `find jEdit -type f \! \( -name Entries \
- -o -name Root -o -name Entries.Static -o -name Repository \
- -o -name Baserev \
- -o -name \*.class -o -name \*.jar -o -name .\*.marks -o -name .xvpics \
- -o -name \*.exe -o -name \*.dll -o -name \*.dl_ \
- -o -name \*.spec -o -name .cvsignore -o -name tags \)`