Changeset 21420


Ignore:
Timestamp:
2010-01-05T22:47:34+13:00 (14 years ago)
Author:
davidb
Message:

Previous makefile always compiled up Java code, even if nothing had changed. Changed to generate .class files in more logical place, and modified jar command to pick up on them in their new location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/src/java/org/nzdl/gsdl/Makefile

    r20891 r21420  
    1010
    1111clean:
    12     rm -rf org ApplyXSLT.jar
     12    rm -rf *.class ApplyXSLT.jar
    1313
    1414ApplyXSLT.jar: $(CLASSES)
    15     $(JAR) cf ApplyXSLT.jar org
     15    $(JAR) cvf ApplyXSLT.jar -C ../../../  org/nzdl/gsdl/ApplyXSLT.class ApplyXSLTUtil.class
     16
    1617
    1718%.class : %.java
    18     $(JAVAC) -d . -classpath ../../.. $<
     19    $(JAVAC) -d ../../.. -classpath ../../.. $<
    1920
    2021
Note: See TracChangeset for help on using the changeset viewer.