diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-18 11:55:02 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-18 12:40:04 -0600 |
commit | 8316578166a73de1db05c555e640e9153ddc8d5d (patch) | |
tree | ccd5920c6daaed75be0fee03ad89b7474bfe4336 /ChangeLog | |
parent | ec001d2a23a3b1740e8d004006c0fc0d7fb6e288 (diff) | |
download | groff-git-8316578166a73de1db05c555e640e9153ddc8d5d.tar.gz |
[build]: Detangle pdfroff, gropdf config (2/2).
* m4/groff.m4: Give pdfroff its own Autoconf macros to handle dependency
checking, build objectives, and user notice.
(GROFF_PDFROFF_DEPENDENCIES_CHECK): New macro requires
`GROFF_AWK_PATH` and `GROFF_GHOSTSCRIPT_PATH`, determines whether
pdfroff can be used at build time, and (if not) constructs part of
message to be shown to user explaining why.
(GROFF_PDFROFF_PROGRAM_NOTICE): New macro requires
`GROFF_PDFROFF_DEPENDENCIES_CHECK` and emits message if needed.
(GROFF_GHOSTSCRIPT_AVAILABILITY_NOTICE): Drop mention of impact on
pdfroff since its dedicated notice covers this now.
* configure.ac: Call the new macros at appropriate times. Produce a new
Automake macro, `USE_PDFROFF`, to replace inapposite use of
`USE_GROPDF` in pdfmark.am.
* contrib/pdfmark/pdfmark.am: Use `USE_PDFROFF` instead of `USE_GROPDF`.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,5 +1,25 @@ 2023-02-18 G. Branden Robinson <g.branden.robinson@gmail.com> + [build]: Detangle "pdfroff" and "gropdf" configuration (2/2). + + * m4/groff.m4: Give pdfroff its own Autoconf macros to handle + dependency checking, build objectives, and user notice. + (GROFF_PDFROFF_DEPENDENCIES_CHECK): New macro requires + `GROFF_AWK_PATH` and `GROFF_GHOSTSCRIPT_PATH`, determines + whether pdfroff can be used at build time, and (if not) + constructs part of message to be shown to user explaining why. + (GROFF_PDFROFF_PROGRAM_NOTICE): New macro requires + `GROFF_PDFROFF_DEPENDENCIES_CHECK` and emits message if needed. + (GROFF_GHOSTSCRIPT_AVAILABILITY_NOTICE): Drop mention of impact + on pdfroff since its dedicated notice covers this now. + * configure.ac: Call the new macros at appropriate times. + Produce a new Automake macro, `USE_PDFROFF`, to replace + inapposite use of `USE_GROPDF` in pdfmark.am. + * contrib/pdfmark/pdfmark.am: Use `USE_PDFROFF` instead of + `USE_GROPDF`. + +2023-02-18 G. Branden Robinson <g.branden.robinson@gmail.com> + [build]: Detangle "pdfroff" and "gropdf" configuration (1/2). * m4/groff.m4 (GROFF_GROPDF_DEPENDENCIES_CHECK): Add |