- Allow keywords to be used unquoted as search terms.
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / Makefile
1 # $Id: Makefile,v 1.11 2002-11-14 22:04:16 mike Exp $
2 #
3 # Your Java compiler, and javadoc, will require that this source
4 # directory is on the classpath.  The best way to do that is just to
5 # add the cql-java distribution's "src" subdirectory to your CLASSPATH
6 # environment variable, like this:
7 #       CLASSPATH=$CLASSPATH:/where/ever/you/unpacked/it/cql-java-VERSION/src
8
9 DOCDIR = ../../../../../docs
10
11 OBJ = Utils.class \
12         CQLNode.class CQLTermNode.class CQLBooleanNode.class \
13         CQLAndNode.class CQLOrNode.class CQLNotNode.class \
14         CQLProxNode.class CQLPrefixNode.class CQLPrefix.class \
15         CQLRelation.class ModifierSet.class \
16         CQLParser.class CQLLexer.class CQLGenerator.class \
17         CQLParseException.class MissingParameterException.class \
18         PQFTranslationException.class \
19         UnknownQualifierException.class UnknownRelationException.class \
20         UnknownRelationModifierException.class UnknownPositionException.class
21
22 ../../../../../lib/cql-java.jar: $(OBJ)
23         cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class
24
25 %.class: %.java
26         javac $<
27
28 docs: $(DOCDIR)/overview-tree.html
29
30 $(DOCDIR)/overview-tree.html: *.java
31         nice javadoc -d $(DOCDIR) -author -version \
32                 -windowtitle cql-java org.z3950.zing.cql
33
34 clean:
35         rm -f $(OBJ) 'CQLLexer$$Keyword.class'
36
37 cleandocs:
38         rm -rf  $(DOCDIR)/allclasses-frame.html \
39                 $(DOCDIR)/deprecated-list.html \
40                 $(DOCDIR)/help-doc.html \
41                 $(DOCDIR)/index-all.html \
42                 $(DOCDIR)/index.html \
43                 $(DOCDIR)/org \
44                 $(DOCDIR)/overview-tree.html \
45                 $(DOCDIR)/package-list \
46                 $(DOCDIR)/packages.html \
47                 $(DOCDIR)/serialized-form.html \
48                 $(DOCDIR)/stylesheet.css