httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: httpd-2.0/build rules.mk
Date Fri, 19 Jan 2001 22:01:51 GMT
gstein      01/01/19 14:01:51

  Modified:    build    rules.mk
  Log:
  maxdepth isn't portable, so just list the .c files (if any)
  
  Revision  Changes    Path
  1.39      +1 -1      httpd-2.0/build/rules.mk
  
  Index: rules.mk
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/rules.mk,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -u -r1.38 -r1.39
  --- rules.mk	2001/01/19 21:47:44	1.38
  +++ rules.mk	2001/01/19 22:01:50	1.39
  @@ -176,7 +176,7 @@
   distclean-p depend-p clean-p:
   
   depend: depend-recursive
  -	if test "`find . -name "*.c" -maxdepth 1 -print`" != ""; then \
  +	if test -n "`ls *.c 2> /dev/null`"; then \
   	    gcc -MM $(INCLUDES) $(EXTRA_INCLUDES) $(DEFS) $(CPPFLAGS) $(srcdir)/*.c | sed 's/\.o:/.lo:/'
> $(builddir)/.deps || true;           \
   	fi
   #	    test "`echo *.c`" = '*.c' || perl $(top_srcdir)/build/mkdep.perl $(CPP) $(INCLUDES)
$(EXTRA_INCLUDES) *.c > .deps
  
  
  

Mime
View raw message