summaryrefslogtreecommitdiffstats
path: root/config/depend.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/depend.in')
-rw-r--r--config/depend.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/depend.in b/config/depend.in
index 6915524..8d41cf4 100644
--- a/config/depend.in
+++ b/config/depend.in
@@ -35,7 +35,8 @@ dep depend: .distdep
obj=`echo $$dep | sed 's/\.c/\\\\.lo/'`; \
sed '\%$$obj%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
$(TRACE) $$dep; \
- $(CC) -M -MG $(CPPFLAGS) $$dep |sed 's/\.o/.lo/' >>$@; \
+ $(CC) -M -MG $(CPPFLAGS) $$dep 2>/dev/null | \
+ sed 's/\.o/.lo/' >>$@; \
fi; \
done;
-perl -p $(top_srcdir)/bin/distdep .depend >$(srcdir)/.distdep