Variable: TeX-output-dir
TeX-output-dir is a customizable and buffer-local variable defined in
tex.el.
Documentation
The path of the directory where output files should be placed.
A relative path is interpreted as being relative to the master file in
TeX-master. Subdirectories of TeX-master are considered safe,
otherwise the user is asked for permission. If this variable is nil,
the output directory is assumed to be the same as the directory of
TeX-master.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.2.0/tex.el
(defcustom TeX-output-dir nil
"The path of the directory where output files should be placed.
A relative path is interpreted as being relative to the master file in
`TeX-master'. Subdirectories of `TeX-master' are considered safe,
otherwise the user is asked for permission. If this variable is nil,
the output directory is assumed to be the same as the directory of
`TeX-master'."
:group 'TeX-file
:safe #'TeX--output-dir-safe-p
:type '(choice (const :tag "Directory of master file" nil)
(string :tag "Custom" "build"))
:local t)