Adjust paths in Makefile to allow for maven compification.
authorMike Taylor <mike@miketaylor.org.uk>
Wed, 19 May 2010 22:18:22 +0000 (23:18 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Wed, 19 May 2010 22:18:22 +0000 (23:18 +0100)
src/main/java/org/z3950/zing/cql/Makefile

index 39c4f21..00b82d5 100644 (file)
@@ -19,15 +19,15 @@ OBJ = Utils.class \
        UnknownRelationModifierException.class UnknownPositionException.class
 
 JARPATH = ../lib/cql-java.jar
-JAR = ../../../../$(JARPATH)
+JAR = ../../../../../../$(JARPATH)
 $(JAR): $(OBJ)
-       cd ../../../..; jar cf $(JARPATH) org/z3950/zing/cql/*.class
+       cd ../../../../../..; jar cf $(JARPATH) main/java/org/z3950/zing/cql/*.class
 
 %.class: %.java
        javac -Xlint:unchecked *.java
 
 test: $(JAR)
-       cd ../../../../../test/regression && make
+       cd ../../../../../../../test/regression && make
 
 clean:
        rm -f $(OBJ) 'CQLLexer$$Keyword.class'