Ignore:
Timestamp:
2007-01-22T16:24:50+13:00 (17 years ago)
Author:
kjdon
Message:

added nojava and install-nojava targets for use with gs2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/Makefile.in

    r13697 r13716  
    1 # Main Makefile for GNU tar.
     1 # Main Makefile for MGPP
    22# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    33 
     
    4747#infodir='$(infodir)' infodir='$(infodir)' libexecdir='$(libexecdir)'
    4848
    49 SUBDIRS = lib text java/org/greenstone/mgpp jni
    50 
     49SUBDIRS = lib text
     50JAVADIRS = java/org/greenstone/mgpp jni
    5151
    5252.SUFFIXES:
     
    5454all install uninstall execinstall execuninstall maninstall manuninstall:
    5555#config.h
    56     for subdir in $(SUBDIRS); do \
     56    for subdir in $(SUBDIRS) $(JAVADIRS); do \
    5757      echo making $@ in $$subdir; \
    5858      (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    5959    done
    6060
    61 javaonly:
    62     cd java/org/greenstone/mgpp && $(MAKE) $(MDEFINES) all
     61nojava:
     62    for subdir in $(SUBDIRS); do \
     63      echo making $@ in $$subdir; \
     64      (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
     65    done
    6366
    64 installjava:
    65     cd java/org/greenstone/mgpp && $(MAKE) $(MDEFINES) install
     67install-nojava:
     68    for subdir in $(SUBDIRS); do \
     69      echo making $@ in $$subdir; \
     70      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
     71    done
    6672
    67 # Have not written any texinfo files for the documentation yet
    68 #info dvi:
    69 #   cd doc && $(MAKE) $@
    7073
    7174mostlyclean: mostlyclean-recursive mostlyclean-local
     
    8184mostlyclean-recursive clean-recursive distclean-recursive \
    8285maintainer-clean-recursive:
    83     for subdir in $(SUBDIRS); do \
     86    for subdir in $(SUBDIRS) $(OTHERDIRS); do \
    8487      target=`echo $@ | sed 's/-recursive//'`; \
    8588      echo making $$target in $$subdir; \
Note: See TracChangeset for help on using the changeset viewer.