Changeset 21420

Show
Ignore:
Timestamp:
05.01.2010 22:47:34 (9 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

Files:
1 modified

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