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

added javaonly and install-javaonly make targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.