annotate vpath.sed @ 51336:c1252b2b2582

(latex-block-args-alist, latex-block-body-alist): New vars. (latex-insert-block): Use them. (tex-string-prefix-p): New fun. (tex-guess-main-file): Use it to detect when the main file is in a parent directory. (tex-main-file): Try to find a main-file in parent directories. (tex-compile-default): Don't use `gv' on pdf files just because `gv' was used recently on a ps file. Remove unused arg `dir'. Reuse a previous command as-is if it applied to the same file. (tex-compile): Use the right file name when file is not in dir.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 30 May 2003 18:52:46 +0000
parents 4e736dcf8065
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4703
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
1 /^VPATH *=/c\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
2 # This works only in GNU make. Using the patterns avoids\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
3 # object files being found by VPATH, and thus permits building\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
4 # when $srcdir is configured itself.\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
5 vpath %.c $(srcdir)\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
6 vpath %.h $(srcdir)\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
7 \