summaryrefslogtreecommitdiff
path: root/vpath.sed
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-09-12 10:45:13 +0000
committerRoland McGrath <roland@gnu.org>1993-09-12 10:45:13 +0000
commit4fd2184747b847bbacf1891bcc9eae0c1f0eba71 (patch)
tree8b3a55358bb2707790af56fb2d3435e0c6fcec8e /vpath.sed
parent39a803f79aaf2615789690e8eb9389a073edf25e (diff)
downloademacs-4fd2184747b847bbacf1891bcc9eae0c1f0eba71.tar.gz
Initial revision
Diffstat (limited to 'vpath.sed')
-rw-r--r--vpath.sed8
1 files changed, 8 insertions, 0 deletions
diff --git a/vpath.sed b/vpath.sed
new file mode 100644
index 00000000000..4f43cd4be65
--- /dev/null
+++ b/vpath.sed
@@ -0,0 +1,8 @@
+/^VPATH *=/c\
+# This works only in GNU make. Using the patterns avoids\
+# object files being found by VPATH, and thus permits building\
+# when $srcdir is configured itself.\
+vpath ymakefile $(srcdir)\
+vpath %.c $(srcdir)\
+vpath %.h $(srcdir)\
+\