PageRenderTime 83ms CodeModel.GetById 80ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/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
 1#!/bin/sh
 2
 3# Creates the jEdit source tarball.
 4
 5if [ "$1" = "" ]; then
 6  echo "Must specify a command line parameter."
 7  exit 1
 8fi
 9
10ant clean
11rm -f doc/{FAQ,users-guide}/{toc.xml,word-index.xml,*.html}
12
13cd
14tar cvfz jedit${1}source.tar.gz `find jEdit -type f \! \( -name Entries \
15	-o -name Root -o -name Entries.Static -o -name Repository \
16	-o -name Baserev \
17	-o -name \*.class -o -name \*.jar -o -name .\*.marks -o -name .xvpics \
18	-o -name \*.exe -o -name \*.dll -o -name \*.dl_ \
19	-o -name \*.spec -o -name .cvsignore -o -name tags \)`