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
commit264a954babdebe80432e3de676adb11f46543b30 (patch)
tree6454bb06ef25a037907db5b2de381b799f776734 /vpath.sed
parent21af68b67449452031afa08fa95801b6033e68f0 (diff)
downloademacs-264a954babdebe80432e3de676adb11f46543b30.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)\
+\