1 # $Id: Makefile,v 1.11 2002-11-14 22:04:16 mike Exp $
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
9 DOCDIR = ../../../../../docs
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
22 ../../../../../lib/cql-java.jar: $(OBJ)
23 cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class
28 docs: $(DOCDIR)/overview-tree.html
30 $(DOCDIR)/overview-tree.html: *.java
31 nice javadoc -d $(DOCDIR) -author -version \
32 -windowtitle cql-java org.z3950.zing.cql
35 rm -f $(OBJ) 'CQLLexer$$Keyword.class'
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 \
44 $(DOCDIR)/overview-tree.html \
45 $(DOCDIR)/package-list \
46 $(DOCDIR)/packages.html \
47 $(DOCDIR)/serialized-form.html \
48 $(DOCDIR)/stylesheet.css