You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1997/11/30 20:17:24 UTC

cvs commit: apachen/src Configure Makefile.tmpl

dgaudet     97/11/30 11:17:24

  Modified:    src      Configure Makefile.tmpl
  Log:
  Fail gracefully if "cd subdir" fails during a make... without this
  it would go into an infinite make loop and consume all
  processes/resources.
  
  Reviewed by:	Jim Jagielski, Ken Coar
  
  Revision  Changes    Path
  1.173     +1 -1      apachen/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/Configure,v
  retrieving revision 1.172
  retrieving revision 1.173
  diff -u -r1.172 -r1.173
  --- Configure	1997/11/21 09:59:08	1.172
  +++ Configure	1997/11/30 19:17:22	1.173
  @@ -1046,7 +1046,7 @@
   default: all
   
   all clean :: 
  -	for i in \$(MODULES); do (cd \$\$i; \$(MAKE) CC='\$(CC)' AUX_CFLAGS='\$(CFLAGS)' RANLIB='\$(RANLIB)' \$@) || exit 1; done
  +	for i in \$(MODULES); do (cd \$\$i && \$(MAKE) CC='\$(CC)' AUX_CFLAGS='\$(CFLAGS)' RANLIB='\$(RANLIB)' \$@) || exit 1; done
   
   EOF
   
  
  
  
  1.73      +2 -2      apachen/src/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/Makefile.tmpl,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- Makefile.tmpl	1997/11/15 19:04:47	1.72
  +++ Makefile.tmpl	1997/11/30 19:17:23	1.73
  @@ -33,7 +33,7 @@
   
   subdirs:
   	for i in $(SUBDIRS); do \
  -		( cd $$i; $(MAKE) CC='$(CC)' AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)') || exit 1; \
  +		( cd $$i && $(MAKE) CC='$(CC)' AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)') || exit 1; \
   	done
   
   support: support-dir
  @@ -44,7 +44,7 @@
   clean:
   	rm -f $(TARGET) *.o
   	for i in $(SUBDIRS); do \
  -		( cd $$i; $(MAKE) $@ ) || exit 1; \
  +		( cd $$i && $(MAKE) $@ ) || exit 1; \
   	done
   
   dist.tar: