[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62592] allow groff source pulled from git to build without TeX
From: |
G. Branden Robinson |
Subject: |
[bug #62592] allow groff source pulled from git to build without TeX |
Date: |
Fri, 10 Jun 2022 00:01:21 -0400 (EDT) |
Update of bug #62592 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #3:
commit 31f64af693b077b846ac2540f4ea2baf95c4ef10
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Thu Jun 9 16:45:42 2022 -0500
Weaken build dependency on TeX.
[build]: Weaken dependency on TeX, instead using it (to generate the DVI
and PDF forms of our Texinfo manual) only if it is available.
* m4/groff.m4 (GROFF_USE_TEX_CHECK): Check for presence of 'tex'
executable in path. Set shell variable `groff_use_tex` to "yes" if
present, and "no" otherwise. This check runs only if the 'makeinfo'
and 'texi2dvi' version checks have already passed.
* configure.ac: Run the new check. Set Automake conditional `USE_TEX`
only if shell variable `groff_use_tex` is "yes". Report whether
"groff.dvi" and "groff.pdf" are (re-)buildable.
* doc/doc.am: Parameterize names of groff.{dvi,pdf} targets as Make
macros `GROFF_DVI` and `GROFF_PDF`. Define them only if `USE_TEX`.
Do _not_ update `EXTRA_DIST` macro; leave the literal file names there
because we require that distribution archives contain these files.
(.texi.dvi, .texi.pdf): Update suffix rules to check `USE_TEX` and
fail, complaining of missing 'tex' program, if these targets are
attempted without it being true. Only manually specifying the file
names as targets to 'make' or attempting to generate a distribution
archive without TeX present should cause these errors.
* INSTALL.REPO: Update dependency information.
Fixes <https://savannah.gnu.org/bugs/?62592>. Thanks to Deri James for
the report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62592>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/