mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-10 09:21:58 +02:00
doc: fix pdf generation
* doc/coreutils.texi: Explicitly supply empty arguments to macros, as dvi (a required prerequisite to pdf) is more strict in its handling of macro arguments. * cfg.mk (sc_texi_ensure_empty_option_args): Add a syntax check, since this is not verified in the default build. Reported by Collin Funk.
This commit is contained in:
5
cfg.mk
5
cfg.mk
@@ -372,6 +372,11 @@ sc_texi_long_option_escaped: doc/coreutils.info
|
||||
@grep ' –[^ ]' '$<' \
|
||||
&& { echo 1>&2 '$@: found unquoted --long-option'; exit 1; } || :
|
||||
|
||||
# pdf (and dvi) generation requires explicit empty args (trailing comma)
|
||||
sc_texi_ensure_empty_option_args:
|
||||
@grep '^@optItem[^,]*,[^,]*$$' doc/*.texi && { echo 1>&2 \
|
||||
'$@: Use explicit empty argument to @optItem[x]'; exit 1; } || :
|
||||
|
||||
# Ensure all man/*.[1x] files are present.
|
||||
sc_man_file_correlation: check-x-vs-1 check-programs-vs-x
|
||||
|
||||
|
||||
1412
doc/coreutils.texi
1412
doc/coreutils.texi
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user