Changeset 15158

Show
Ignore:
Timestamp:
31.03.2008 10:45:36 (11 years ago)
Author:
kjdon
Message:

indexers now included in the make clean and make distclean

Files:
1 modified

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