[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#123763: tetex-bin: Write output to somewhere besides current directory



Anthony DeRobertis writes:

> I'd like to write the .toc, .dvi, .lot, .lof, etc. files to somewhere
> besides the current directory. Something like a -o option.

> This would be nice for makefiles and other build systems that are
> designed to run out of source trees that are not to be scribbled in,
> such as CD-ROM, shared NFS mounts, etc.

A build system would know both source and build directories, and
typically work with the build drectory as the CWD.  So you should be
able (in the build directory) to do
        env TEXINPUTS=/sourcedir: latex file

Even if such an option (--output-dir?) were implemented, there'd still
be the problem that in Makefiles (or such) that you distribute you
cannot count on the option being present.

-- 
Olaf Weber

               (This space is left blank for technical reasons.)




Reply to: