Re: Test report for "make gnuplot-ja.pdf" on cygwin64

Hans-Bernhard Bröker <[email protected]> Wed, 5 Jan 2022 22:26:09 +0100
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
Am 05.01.2022 um 07:57 schrieb Tatsuro MATSUOKA:
> Ethan
> 
> In development branch, make gnuplot-ja.pdf was supported.
> I tried the make on cygwin64 and  build and report the result.
> 
> cd docs
> make gnuplot-ja.pdf
> 
> iconv -f EUC-JP -t UTF-8 gnuplot-ja.doc > ja.doc
> doc2tex -figures ja.doc | sed 's/titlepag.tex/title-ja.tex/' > gnuplot-ja.tex
> /bin/sh: doc2tex: command not found
> 
> I confirmed doc2tex.exe is generated in docs direcotory .
> Workaorund is
> 
> cd docs
> PATH=$PATH:./ make gnuplot-ja.pdf
> 

The correct solution would be to call doc2tex like it's done in the rule 
for gnuplot.pdf:

	./doc2tex

The new production rule for gnuplot-ja.pdf has a few other problems 
beside that:

* It doesn't work for out-of-source-tree builds, because of missing 
$(srcdir)/ prefixes and a lack of TEXINPUTS addition of $(srcdir)

* It doesn't list prerequisite doc2tex$(EXEEXT), so

	make clean
	make gnuplot-ja.pdf

   will fail.

Generally this rule should be re-done to be much closer to that for 
gnuplot.pdf.


_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta