diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-05-20 14:40:56 -0500 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-05-21 11:13:08 -0500 |
commit | aa5787c1eb1b388ab246a02cdbf2d9267e701494 (patch) | |
tree | 6bc02ab7c7ac220482101f475a44d6392b4f1f9d /contrib/sboxes | |
parent | 03f60f5bac856481a6bd62b7c87bb5a3e70b6ada (diff) | |
download | groff-git-aa5787c1eb1b388ab246a02cdbf2d9267e701494.tar.gz |
[build]: Refactor grohtml runtime-dep check.
Handle missing programs required at runtime by grohtml more gracefully.
Rename and refactor configuration-time logic to be more understandable.
* configure.ac:
* m4/groff.m4: Rename `GROFF_HTML_PROGRAMS` macro to
`GROFF_CHECK_GROHTML_PROGRAMS`. Rename shell variable `make_htmldoc`
to `use_grohtml`. Set it explicitly to "no" or "yes" instead of null
or not null.
* configure.ac:
* m4/groff.m4:
* doc/doc.am: Rename `BUILD_HTML` to `USE_GROHTML`.
* configure.ac: Call `GROFF_GROHTML_PROGRAM_NOTICE`.
* doc/doc.am: Bracket definition of `PROCESSEDDOCFILES_HTML` macro and
`$(PROCESSEDDOCFILES_HTML)` dependency declaration in Automake `if
USE_GROHTML` conditional. This prevents an attempt to build an HTML
version of the "pic.ms" document that is doomed to fail (noisily).
* m4/groff.m4: Refactor grohtml runtime-dependency program check. Split
into two macros: one (`GROFF_CHECK_GROHTML_PROGRAMS`) performs the
check, the other (`GROFF_GROHTML_PROGRAM_NOTICE`) issues a notice at
the end of the configuration process if at least one program was not
found. Rename `html_docnote` shell variable to `grohtml_notice`.
Tighten wording of notice. Drop unused `make_install_htmldoc` and
`make_uninstall_htmldoc` shell variables.
Also make code style more readable.
Diffstat (limited to 'contrib/sboxes')
0 files changed, 0 insertions, 0 deletions