mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 07:27:53 +00:00
doc: post process html with non-GNU make programs
* .gitignore (/build-aux/makeinfo-wrapper.sh): * Makefile.am (EXTRA_DIST): Remove build-aux/makeinfo-wrapper.sh. * build-aux/makeinfo-wrapper.sh.in: New file, renamed from build-aux/makeinfo-wrapper.sh and modified to use @MAKEINFO@ instead of makeinfo. * cfg.mk (MAKEINFO): Remove variable. * configure.ac: Add build-aux/makeinfo-wrapper.sh as a configure file. * doc/local.mk (MAKEINFO): Define to $(abs_top_builddir)/build-aux/makeinfo-wrapper.sh. (AM_MAKEINFOFLAGS): Move over some values from the previous MAKEINFO definition.
This commit is contained in:
parent
4d03a1e408
commit
740d33b8da
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,6 +29,7 @@
|
||||
/build-aux/config.sub
|
||||
/build-aux/depcomp
|
||||
/build-aux/install-sh
|
||||
/build-aux/makeinfo-wrapper.sh
|
||||
/build-aux/mdate-sh
|
||||
/build-aux/missing
|
||||
/build-aux/snippet/
|
||||
|
||||
@ -32,7 +32,6 @@ EXTRA_DIST = \
|
||||
bootstrap.conf \
|
||||
build-aux/gen-lists-of-programs.sh \
|
||||
build-aux/gen-single-binary.sh \
|
||||
build-aux/makeinfo-wrapper.sh \
|
||||
cfg.mk \
|
||||
dist-check.mk \
|
||||
maint.mk \
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# only on lines containing "option", corresponding to our @optAnchor macro.
|
||||
# Note texi uses "-" in anchors for spaces, hence why it escapes - with _002d.
|
||||
|
||||
makeinfo "$@" || exit
|
||||
@MAKEINFO@ "$@" || exit
|
||||
|
||||
process_html()
|
||||
{
|
||||
2
cfg.mk
2
cfg.mk
@ -17,8 +17,6 @@
|
||||
# Used in maint.mk's web-manual rule
|
||||
manual_title = Core GNU utilities
|
||||
|
||||
# html post processing
|
||||
export MAKEINFO = $(abs_top_srcdir)/build-aux/makeinfo-wrapper.sh
|
||||
# Don't create node redirection files for each anchor
|
||||
gendocs_options_ = --common --no-node-files
|
||||
|
||||
|
||||
@ -904,4 +904,6 @@ AC_CONFIG_FILES(
|
||||
po/Makefile.in
|
||||
gnulib-tests/Makefile
|
||||
)
|
||||
AC_CONFIG_FILES([build-aux/makeinfo-wrapper.sh],
|
||||
[chmod +x build-aux/makeinfo-wrapper.sh])
|
||||
AC_OUTPUT
|
||||
|
||||
@ -25,9 +25,11 @@ doc_coreutils_TEXINFOS = \
|
||||
doc/fdl.texi \
|
||||
doc/sort-version.texi
|
||||
|
||||
MAKEINFO = $(abs_top_builddir)/build-aux/makeinfo-wrapper.sh
|
||||
|
||||
# The customization variable CHECK_NORMAL_MENU_STRUCTURE is necessary with
|
||||
# makeinfo versions ≥ 6.8.
|
||||
MAKEINFO = @MAKEINFO@ -c CHECK_NORMAL_MENU_STRUCTURE=1
|
||||
AM_MAKEINFOFLAGS = -c CHECK_NORMAL_MENU_STRUCTURE=1
|
||||
|
||||
# The following is necessary if the package name is 8 characters or longer.
|
||||
# If the info documentation would be split into 10 or more separate files,
|
||||
@ -37,7 +39,7 @@ MAKEINFO = @MAKEINFO@ -c CHECK_NORMAL_MENU_STRUCTURE=1
|
||||
# Otherwise, it would also generate files with names like <package>.info-[123],
|
||||
# and those names all map to one 14-byte name (<package>.info-) on some crufty
|
||||
# old systems.
|
||||
AM_MAKEINFOFLAGS = --no-split
|
||||
AM_MAKEINFOFLAGS += --no-split
|
||||
|
||||
doc/constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
|
||||
$(AM_V_GEN)LC_ALL=C; export LC_ALL; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user