X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Forg%2Fz3950%2Fzing%2Fcql%2FMakefile;h=4bc961eaadece2dc90392d75b42dd601829d13ad;hb=b4c87f12830bb1525aebb00e98dce5e6153bea71;hp=e91d911c3a3888842c919ff7ec1092a262b1ec49;hpb=f8154c71944186a9b64ddb782082a2026c5a912f;p=cql-java-moved-to-github.git diff --git a/src/org/z3950/zing/cql/Makefile b/src/org/z3950/zing/cql/Makefile index e91d911..4bc961e 100644 --- a/src/org/z3950/zing/cql/Makefile +++ b/src/org/z3950/zing/cql/Makefile @@ -1,21 +1,50 @@ -# $Id: Makefile,v 1.3 2002-10-31 22:22:01 mike Exp $ +# $Id: Makefile,v 1.10 2002-11-12 22:38:35 mike Exp $ -all: Utils.class \ +DOCDIR = ../../../../../docs + +OBJ = Utils.class \ CQLNode.class CQLTermNode.class CQLBooleanNode.class \ CQLAndNode.class CQLOrNode.class CQLNotNode.class \ CQLRelation.class CQLProxNode.class ModifierSet.class \ CQLParser.class CQLLexer.class CQLParseException.class \ - CQLGenerator.class ParameterMissingException.class + CQLGenerator.class MissingParameterException.class \ + PQFTranslationException.class \ + UnknownQualifierException.class UnknownRelationException.class \ + UnknownRelationModifierException.class UnknownPositionException.class -docs: - nice javadoc -d ../../../../../docs -author -version \ - -windowtitle cql-java org.z3950.zing.cql +../../../../../lib/cql-java.jar: $(OBJ) + cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class +# ### FIX THIS COMMENT! +# Your Java compiler will require that this source directory is on the +# classpath. Generally, you can use the rules below, which set the +# classpath suitably. But that will break if you need other elements +# in the CLASSPATH too. If that's the situation you're in, take the +# "-classpath ../../../.." flag out of the rules below, and set your +# CLASSPATH environment variable to include +# /where/ever/you/unpacked/it/cql-java-VERSION/src +# %.class: %.java javac $< +docs: $(DOCDIR)/overview-tree.html + +$(DOCDIR)/overview-tree.html: *.java + nice javadoc -d $(DOCDIR) -author -version \ + -windowtitle cql-java org.z3950.zing.cql + clean: - rm -f *.class + rm -f $(OBJ) 'CQLLexer$$Keyword.class' cleandocs: - rm -r docs/* + rm -rf $(DOCDIR)/allclasses-frame.html \ + $(DOCDIR)/deprecated-list.html \ + $(DOCDIR)/help-doc.html \ + $(DOCDIR)/index-all.html \ + $(DOCDIR)/index.html \ + $(DOCDIR)/org \ + $(DOCDIR)/overview-tree.html \ + $(DOCDIR)/package-list \ + $(DOCDIR)/packages.html \ + $(DOCDIR)/serialized-form.html \ + $(DOCDIR)/stylesheet.css