Ignore:
Timestamp:
2008-03-31T10:45:36+13:00 (16 years ago)
Author:
kjdon
Message:

indexers now included in the make clean and make distclean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/Makefile.in

    r13777 r15158  
    4949# indexers are treated slightly differently as we don't want to do make all/install
    5050INDEXERSDIR = indexers
    51 # all directories to be compiled
     51# all directories should be compiled
    5252COMPILEDIRS = packages lib src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate src/colservr src/recpt src/oaiservr
    5353# a subset of the directories get installed
     
    7878    done
    7979
    80 # added test to check existence of Makefile, as src/recpt is in
    81 # both INSTALLDIRS and OTHERDIRS - can't make distclean twice!
    82 # do we need this test now??
    8380distclean: clean
    8481    rm -f Makefile config.cache config.h config.log stamp-h config.status
    85     for subdir in $(COMPILEDIRS); do \
     82    for subdir in $(COMPILEDIRS) $(INDEXERSDIR); do \
    8683      echo cleaning $@ in $$subdir; \
    87       (cd $$subdir && if test -e Makefile; then $(MAKE) distclean;fi) || exit 1; \
     84      (cd $$subdir && $(MAKE) distclean) || exit 1; \
    8885    done
    8986
    9087clean:
    91     for subdir in $(COMPILEDIRS); do \
     88    for subdir in $(COMPILEDIRS) $(INDEXERSDIR); do \
    9289      echo cleaning $@ in $$subdir; \
    93       (cd $$subdir && if test -e Makefile; then $(MAKE) clean; fi) || exit 1; \
     90      (cd $$subdir && $(MAKE) clean) || exit 1; \
    9491    done
    9592
Note: See TracChangeset for help on using the changeset viewer.