You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by st...@apache.org on 2001/10/29 13:47:13 UTC

cvs commit: apr/build rules.mk.in

striker     01/10/29 04:47:13

  Modified:    .        buildconf
               build    rules.mk.in
  Log:
  autoconf 2.52 creates a temporary 'autom4te.cache' directory.
  Remove it after buildconf, or when someone runs autoconf
  manually, remove it on make clean.
  
  Submitted by:   Joe Orton <jo...@manyfish.co.uk> [buildconf]
  Suggestions by: Greg Stein [make clean]
  
  Revision  Changes    Path
  1.22      +3 -0      apr/buildconf
  
  Index: buildconf
  ===================================================================
  RCS file: /home/cvs/apr/buildconf,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- buildconf	2001/10/03 09:10:02	1.21
  +++ buildconf	2001/10/29 12:47:13	1.22
  @@ -104,4 +104,7 @@
   ### do some work to toss config.cache?
   autoconf
   
  +# Remove autoconf 2.5x's cache directory
  +rm -rf autom4te.cache
  +
   exit 0
  
  
  
  1.21      +4 -1      apr/build/rules.mk.in
  
  Index: rules.mk.in
  ===================================================================
  RCS file: /home/cvs/apr/build/rules.mk.in,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- rules.mk.in	2001/08/12 05:13:20	1.20
  +++ rules.mk.in	2001/10/29 12:47:13	1.21
  @@ -176,9 +176,12 @@
   	    $(MAKE) "local-$$otarget"; \
   	fi
   
  +# autoconf 2.5x is creating a 'autom4te.cache' directory
  +# In case someone ran autoconf by hand, get rid of that directory
  +# aswell.
   local-clean: x-local-clean
   	$(RM) -f *.o *.lo *.a *.la *.so *.obj $(CLEAN_TARGETS) $(PROGRAMS)
  -	$(RM) -rf .libs
  +	$(RM) -rf .libs autom4te.cache
   
   local-distclean: local-clean x-local-distclean
   	$(RM) -f Makefile $(DISTCLEAN_TARGETS)