There are two related tickets open already, #1219 (Compilation of docs/gnuplot-eldoc.el fails with XEmacs) and #1226 (gnuplot.texi fails to build), but another problem is that gnuplot would install site-lisp/gnuplot-eldoc.el(c) even when I compile it with --without-lisp-files.
The problem is that gnuplot.texi tries to be built independent of --without-lisp-files, it just checks whether EMACS=no and proceeds otherwise.
Current configuration strategy goes as follows:
But it could (for example) be something like:
Two other problems/questions are:
Why is gnuplot.texi built in the first place if it already exists in source?
Why is it built during make install instead of make?