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. The path cannot contain a directory that starts with '.'. 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.1.2/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'.  The path cannot contain a directory that
starts with '.'.  If this variable is nil, the output directory
is assumed to be the same as the directory of `TeX-master'."
  :group 'TeX-file
  :safe #'string-or-null-p
  :type '(choice (const :tag "Directory of master file" nil)
                 (string :tag "Custom" "build"))
  :local t)