Ignore:
Timestamp:
2007-01-24T10:48:33+13:00 (17 years ago)
Author:
kjdon
Message:

merged the indexers branch. mg, mgpp, lucene and unac now live in indexers repository

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/Makefile.in

    r9742 r13777  
    4747ALLFILES = $(OBJECTS)
    4848
    49 INSTALLDIRS = src/recpt src/txt2db src/db2txt src/hashfile src/getpw packages/mg src/phind/generate packages src/mgpp src/oaiservr
     49# indexers are treated slightly differently as we don't want to do make all/install
     50INDEXERSDIR = indexers
     51# all directories to be compiled
     52COMPILEDIRS = packages lib src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate src/colservr src/recpt src/oaiservr
     53# a subset of the directories get installed
     54INSTALLDIRS = packages src/recpt src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate src/oaiservr
    5055
    5156MODULEDIRS = @MODULEDIRS@
    5257
    53 OTHERDIRS = packages packages/mg lib src/mgpp src/colservr src/recpt src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate src/oaiservr
    5458
     59# we don't want to compile the java stuff in indexers for gs2
    5560all:
    56     for odir in $(OTHERDIRS) $(MODULEDIRS); do \
     61    for odir in $(INDEXERSDIR); do \
     62      echo making $@ in $$odir; \
     63      (cd $$odir && $(MAKE) $(MDEFINES) nojava) || exit 1; \
     64    done
     65    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \
    5766      echo making $@ in $$odir; \
    5867      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     
    6069
    6170install: all
    62 
     71    for odir in $(INDEXERSDIR); do \
     72      echo making $@ in $$odir; \
     73      (cd $$odir && $(MAKE) $(MDEFINES) install-nojava) || exit 1; \
     74    done   
    6375    for idir in $(INSTALLDIRS); do \
    6476      echo installing $$idir; \
     
    6880# added test to check existence of Makefile, as src/recpt is in
    6981# both INSTALLDIRS and OTHERDIRS - can't make distclean twice!
     82# do we need this test now??
    7083distclean: clean
    7184    rm -f Makefile config.cache config.h config.log stamp-h config.status
    72     for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
     85    for subdir in $(COMPILEDIRS); do \
    7386      echo cleaning $@ in $$subdir; \
    7487      (cd $$subdir && if test -e Makefile; then $(MAKE) distclean;fi) || exit 1; \
     
    7689
    7790clean:
    78     for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
     91    for subdir in $(COMPILEDIRS); do \
    7992      echo cleaning $@ in $$subdir; \
    8093      (cd $$subdir && if test -e Makefile; then $(MAKE) clean; fi) || exit 1; \
Note: See TracChangeset for help on using the changeset viewer.