httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sas...@apache.org
Subject cvs commit: httpd-2.0/build rules.mk
Date Sat, 20 Jan 2001 08:23:53 GMT
sascha      01/01/20 00:23:53

  Modified:    build    rules.mk
  Log:
  No need to run an external program for checking for the existence of
  C source files.  echo as a built-in function does the same job quicker.
  
  Revision  Changes    Path
  1.41      +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.40
  retrieving revision 1.41
  diff -u -u -r1.40 -r1.41
  --- rules.mk	2001/01/19 22:05:37	1.40
  +++ rules.mk	2001/01/20 08:23:53	1.41
  @@ -176,7 +176,7 @@
   distclean-p depend-p clean-p:
   
   depend: depend-recursive
  -	if test -n "`ls $(srcdir)/*.c 2> /dev/null`"; then \
  +	if test "`echo $(srcdir)/*.c`" != "$(srcdir)'/*.c'"; 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