X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Forg%2Fz3950%2Fzing%2Fcql%2FMakefile;h=e0f5a762d946cebef326fb5af1502694196f3078;hb=77e96a476683020357b2c6e6fa661024698a20d8;hp=41a310d7ea1bc2785fa589fd354e9c259d0551a1;hpb=4849909e4a3cb5765e3d7ee8f2398f87c5876df4;p=cql-java-moved-to-github.git diff --git a/src/org/z3950/zing/cql/Makefile b/src/org/z3950/zing/cql/Makefile index 41a310d..e0f5a76 100644 --- a/src/org/z3950/zing/cql/Makefile +++ b/src/org/z3950/zing/cql/Makefile @@ -1,37 +1,49 @@ -# $Id: Makefile,v 1.5 2002-11-03 17:02:48 mike Exp $ +# $Id: Makefile,v 1.9 2002-11-08 13:50:17 mike Exp $ + +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 ../../../../../lib/cql-java.jar: $(OBJ) cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class -docs: ../../../../../docs/overview-tree.html +# 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 -classpath ../../../.. $< -../../../../../docs/overview-tree.html: *.java - nice javadoc -d ../../../../../docs -author -version \ - -windowtitle cql-java org.z3950.zing.cql +docs: $(DOCDIR)/overview-tree.html -%.class: %.java - javac $< +$(DOCDIR)/overview-tree.html: *.java + nice javadoc -classpath ../../../.. -d $(DOCDIR) -author -version \ + -windowtitle cql-java org.z3950.zing.cql clean: rm -f $(OBJ) 'CQLLexer$$Keyword.class' cleandocs: - rm -rf \ - ../../../../../docs/allclasses-frame.html \ - ../../../../../docs/deprecated-list.html \ - ../../../../../docs/help-doc.html \ - ../../../../../docs/index-all.html \ - ../../../../../docs/index.html \ - ../../../../../docs/org \ - ../../../../../docs/overview-tree.html \ - ../../../../../docs/package-list \ - ../../../../../docs/packages.html \ - ../../../../../docs/serialized-form.html \ - ../../../../../docs/stylesheet.css + 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