view vpath.sed @ 46956:2c01ee3e5305

Move the node Relative Files before Directory Names. Show what file-name-nondirectory returns when given a directory name. Explain that abbreviate-file-name works on file names too. Explain how to combine a directory name with a relative file name with concat, and the pitfalls. Update some details.
author Richard M. Stallman <rms@gnu.org>
date Mon, 19 Aug 2002 18:43:18 +0000
parents 4e736dcf8065
children 695cf19ef79e
line wrap: on
line source

/^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 %.c $(srcdir)\
vpath %.h $(srcdir)\
\