On Mon, 30 Mar 2020, Riccardo (Jack) Lucchetti wrote:
On Mon, 30 Mar 2020, Allin Cottrell wrote:
> Here's something that people building gretl from the git sources should
> note. (It's not relevant if you're building from a released source
> package.)
>
> I've recently revised the Makefiles for the gretl documentation (both
> "online" and PDF). This was motivated by build problems on Windows, but
> more generally I'm trying to ensure that the docs get (re-)built always and
> only when they're non-existent or out of date.
>
> As part of this effort I've changed the location of the compiled helpfiles,
> namely
>
> gretl_cli_cmdref.<lang>
> gretl_gui_cmdref.<lang>
> gretl_gui_help.<lang>
> gretl_cli_fnref.<lang>
> gretl_gui_fnref.<lang>
> gretlhelp.refs
>
> We used to do something kinda anomalous: even when building outside of the
> source tree we wrote these files into the "share" subdirectory of the
> source tree itself (rationale: so they were automatically in place for a
> non-git source package).
>
> Now these files get written to doc/commands in the build tree (and "make
> install" is revised to find them OK).
A question: so far, after editing the xml files, I've used "make install -C
share" to make sure the new versions get copied into the right subdir so I
could test them. Is this still the case, or shoud this become "make install
-C doc"?
No change in that respect. To have just the helpfiles installed you
can do
make -C share install_help
Allin