From e5d8d11c531771abef75583d5162a714485bf1ea Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 8 Nov 2002 13:50:17 +0000 Subject: [PATCH] Change rules to specify -classpath ../../../.. --- src/org/z3950/zing/cql/Makefile | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/org/z3950/zing/cql/Makefile b/src/org/z3950/zing/cql/Makefile index 961afbb..e0f5a76 100644 --- a/src/org/z3950/zing/cql/Makefile +++ b/src/org/z3950/zing/cql/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.8 2002-11-06 20:13:45 mike Exp $ +# $Id: Makefile,v 1.9 2002-11-08 13:50:17 mike Exp $ DOCDIR = ../../../../../docs @@ -15,25 +15,23 @@ OBJ = Utils.class \ ../../../../../lib/cql-java.jar: $(OBJ) cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class +# 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: $(DOCDIR)/overview-tree.html $(DOCDIR)/overview-tree.html: *.java - nice javadoc -d $(DOCDIR) -author -version \ + nice javadoc -classpath ../../../.. -d $(DOCDIR) -author -version \ -windowtitle cql-java org.z3950.zing.cql -# Your Java compiler will require that this source directory is on the -# CLASSPATH. You can either set your CLASSPATH environment variable -# to include /where/ever/you/unpacked/it/cql-java-VERSION/src or try -# changing the rule below to: -# -# javac -classpath ../../../.. $< -# -# (But that will break if you need other elements in the CLASSPATH -# too, for the Java library -- as, for example, Jikes does.) -# -%.class: %.java - javac $< - clean: rm -f $(OBJ) 'CQLLexer$$Keyword.class' -- 1.7.10.4