On Fri, 16 Jan 2004, Petr Mikulik wrote:
> Hi Lars,
> > Modified files:
> > gnuplot/docs/: titlepag.tex
> > Log message:
> > Remove path to VERSION file, this is now taken of by TEXINPUTS.
> well, it seems it is not easily portable by setting TEXINPUTS in a Makefile
> for different systems, like Windows and OS/2. Do you know how to set an
> environmental variable in Makefiles for these systems?
If they're sufficiently Unix-like, I see no particular reason why the
approach in docs/Makefile.in shouldn't work for makefile.mgw, too. Or you
can use the "export" directive of GNU make, i.e.
export TEXINPUTS=... whatever...
There's an older method using the special target ".EXPORT:", but I'm not
sure whether that still exists. It's not documented any longer, it seems.
> Thus, do you really prefer the above "copy" method, or would rather go back
> to \openin ../VERSION as it was until now?
\openin ../VERSION breaks in other ways, so we can't usefully go back to
that (it fails to work in out-of-source-directory builds on Unix-like
Hans-Bernhard Broeker (broeker@...)
Even if all the snow were burnt, ashes would remain.
From: Petr Mikulik <mikulik@ph...> - 2004-01-19 17:43:38
> If they're sufficiently Unix-like, I see no particular reason why the
> approach in docs/Makefile.in shouldn't work for makefile.mgw, too. Or you
> can use the "export" directive of GNU make, i.e.
> export TEXINPUTS=... whatever...
It doesn't work.
Thus I've chosen "copy ../VERSION ." which works OK.