Changeset 18447

Show
Ignore:
Timestamp:
01.02.2009 14:46:59 (11 years ago)
Author:
davidb
Message:

Added some double quotes around paths to help situation where space is in directory name

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • indexers/trunk/mg/java/org/greenstone/mg/Makefile.in

    r16583 r18447  
    3333JAVASRCDIR=../../.. 
    3434JAVACOPTIONS= -deprecation -g -O 
    35 JAVACLASSPATH=$(JAVACLASSDIR): 
     35JAVACLASSPATH=$(JAVACLASSDIR) 
    3636 
    3737datadir = $(prefix)/share 
     
    4747 
    4848compile: setup 
    49     $(JAVAC) -d $(JAVACLASSDIR) -sourcepath $(JAVASRCDIR) $(JAVACOPTIONS) *.java 
    50     $(JAVAH) -classpath $(JAVACLASSPATH) -d $(MGHOME)/jni org.greenstone.mg.MGWrapper 
    51     $(JAVAH) -classpath $(JAVACLASSPATH) -d $(MGHOME)/jni org.greenstone.mg.MGPassesWrapper 
    52     $(JAR) cf $(MGHOME)/mg.jar -C $(JAVACLASSDIR) org 
     49    "$(JAVAC)" -d "$(JAVACLASSDIR)" -sourcepath "$(JAVASRCDIR)" $(JAVACOPTIONS) *.java 
     50    "$(JAVAH)" -classpath "$(JAVACLASSPATH)" -d "$(MGHOME)/jni" org.greenstone.mg.MGWrapper 
     51    "$(JAVAH)" -classpath "$(JAVACLASSPATH)" -d "$(MGHOME)/jni" org.greenstone.mg.MGPassesWrapper 
     52    "$(JAR)" cf "$(MGHOME)/mg.jar" -C "$(JAVACLASSDIR)" org 
    5353 
    5454clean: 
    55     rm -rf $(JAVACLASSDIR) $(MGHOME)/mg.jar $(MGHOME)/jni/org_greenstone_mg_MGWrapper.h $(MGHOME)/jni/org_greenstone_mg_MGPassesWrapper.h 
     55    rm -rf "$(JAVACLASSDIR)" "$(MGHOME)/mg.jar" "$(MGHOME)/jni/org_greenstone_mg_MGWrapper.h" "$(MGHOME)/jni/org_greenstone_mg_MGPassesWrapper.h" 
    5656 
    5757install: