Changeset 13788


Ignore:
Timestamp:
2007-01-25T11:03:16+13:00 (15 years ago)
Author:
kjdon
Message:

added javaonly and install-javaonly make targets

Location:
trunk/indexers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/Makefile.in

    r13771 r13788  
    6565        done
    6666
     67javaonly:
     68    for odir in mg mgpp; do \
     69          echo making $@ in $$odir; \
     70          (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     71        done
     72    for odir in lucene-gs; do \
     73          echo making $@ in $$odir; \
     74          (cd $$odir && $(MAKE) $(MDEFINES) all) || exit 1; \
     75        done
     76
     77install-javaonly:
     78    for odir in mg mgpp; do \
     79          echo making $@ in $$odir; \
     80          (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     81        done
     82    for odir in lucene-gs; do \
     83          echo making $@ in $$odir; \
     84          (cd $$odir && $(MAKE) $(MDEFINES) install) || exit 1; \
     85        done
     86
     87
  • trunk/indexers/mg/Makefile.in

    r13778 r13788  
    4848#SUBDIRS = lib src/text src/images src/scripts
    4949SUBDIRS = lib src/text
    50 JAVADIRS = java/org/greenstone/mg jni
    51 
     50JAVADIRS = java/org/greenstone/mg
     51JNIDIRS = jni
    5252.SUFFIXES:
    5353
    5454all install uninstall execinstall execuninstall maninstall manuninstall: config.h
    55     for subdir in $(SUBDIRS) $(JAVADIRS); do \
     55    for subdir in $(SUBDIRS) $(JAVADIRS) $(JNIDIRS); do \
    5656      echo making $@ in $$subdir; \
    5757      (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     
    6969      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
    7070    done
     71
     72javaonly:
     73    for subdir in $(JAVADIRS); do \
     74      echo making $@ in $$subdir; \
     75      (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
     76    done
     77
     78install-javaonly:
     79    for subdir in $(JAVADIRS); do \
     80      echo making $@ in $$subdir; \
     81      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
     82    done
     83
    7184
    7285check: all
  • trunk/indexers/mgpp/Makefile.in

    r13716 r13788  
    4848
    4949SUBDIRS = lib text
    50 JAVADIRS = java/org/greenstone/mgpp jni
     50JAVADIRS = java/org/greenstone/mgpp
     51JNIDIRS = jni
    5152
    5253.SUFFIXES:
     
    5455all install uninstall execinstall execuninstall maninstall manuninstall:
    5556#config.h
    56     for subdir in $(SUBDIRS) $(JAVADIRS); do \
     57    for subdir in $(SUBDIRS) $(JAVADIRS) $(JNIDIRS); do \
    5758      echo making $@ in $$subdir; \
    5859      (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     
    6768install-nojava:
    6869    for subdir in $(SUBDIRS); do \
     70      echo making $@ in $$subdir; \
     71      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
     72    done
     73
     74javaonly:
     75    for subdir in $(JAVADIRS); do \
     76      echo making $@ in $$subdir; \
     77      (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
     78    done
     79
     80install-javaonly:
     81    for subdir in $(JAVADIRS); do \
    6982      echo making $@ in $$subdir; \
    7083      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
Note: See TracChangeset for help on using the changeset viewer.