aboutsummaryrefslogtreecommitdiff
path: root/src/util/depfix.sed
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/depfix.sed')
-rw-r--r--src/util/depfix.sed2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/depfix.sed b/src/util/depfix.sed
index 533f5ce..d90033d 100644
--- a/src/util/depfix.sed
+++ b/src/util/depfix.sed
@@ -28,6 +28,8 @@ s/ */ /g
s;/usr/include/[^ ]* ;;g
s;/usr/lib/[^ ]* ;;g
s;/mit/cygnus[^ ]* ;;g
+# rely on VPATH for $(srcdir) files
+s;\$(srcdir)/\([^ /]* \);\1;g
# now delete trailing whitespace
s; *$;;g