]> granicus.if.org Git - apache/commitdiff
whoops. last two commits didn't deal with $(srcdir)
authorGreg Stein <gstein@apache.org>
Fri, 19 Jan 2001 22:05:37 +0000 (22:05 +0000)
committerGreg Stein <gstein@apache.org>
Fri, 19 Jan 2001 22:05:37 +0000 (22:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87745 13f79535-47bb-0310-9956-ffa450edef68

build/rules.mk

index e42bf0c96e344a642e03bff6be2dda30d171e21d..71d10986b14a8309ea3eaf669edff8e7bd279c2f 100644 (file)
@@ -176,7 +176,7 @@ install-p: $(targets) $(install_targets)
 distclean-p depend-p clean-p:
 
 depend: depend-recursive
-       if test -n "`ls *.c 2> /dev/null`"; then \
+       if test -n "`ls $(srcdir)/*.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