xindy doesn't seem to be required (and is not available on CentOS 8)

This commit is contained in:
Axel Kohlmeyer 2020-09-23 16:11:22 -04:00
parent 790f636523
commit 2f8a5ddd1f
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
3 changed files with 3 additions and 5 deletions

View File

@ -44,11 +44,9 @@ endif
ifeq ($(shell which pdflatex >/dev/null 2>&1; echo $$?), 0) ifeq ($(shell which pdflatex >/dev/null 2>&1; echo $$?), 0)
ifeq ($(shell which latexmk >/dev/null 2>&1; echo $$?), 0) ifeq ($(shell which latexmk >/dev/null 2>&1; echo $$?), 0)
ifeq ($(shell which xindy >/dev/null 2>&1; echo $$?), 0)
HAS_PDFLATEX = YES HAS_PDFLATEX = YES
endif endif
endif endif
endif
#SPHINXEXTRA = -j $(shell $(PYTHON) -c 'import multiprocessing;print(multiprocessing.cpu_count())') $(shell test -f $(BUILDDIR)/doxygen/xml/run.stamp && printf -- "-E") #SPHINXEXTRA = -j $(shell $(PYTHON) -c 'import multiprocessing;print(multiprocessing.cpu_count())') $(shell test -f $(BUILDDIR)/doxygen/xml/run.stamp && printf -- "-E")
@ -156,7 +154,7 @@ mobi: epub
pdf: xmlgen $(VENV) $(SPHINXCONFIG)/conf.py $(ANCHORCHECK) pdf: xmlgen $(VENV) $(SPHINXCONFIG)/conf.py $(ANCHORCHECK)
@if [ "$(HAS_BASH)" == "NO" ] ; then echo "bash was not found at $(OSHELL)! Please use: $(MAKE) SHELL=/path/to/bash" 1>&2; exit 1; fi @if [ "$(HAS_BASH)" == "NO" ] ; then echo "bash was not found at $(OSHELL)! Please use: $(MAKE) SHELL=/path/to/bash" 1>&2; exit 1; fi
@$(MAKE) $(MFLAGS) -C graphviz all @$(MAKE) $(MFLAGS) -C graphviz all
@if [ "$(HAS_PDFLATEX)" == "NO" ] ; then echo "PDFLaTeX, latexmk, or xindy were not found! Please check README for further instructions" 1>&2; exit 1; fi @if [ "$(HAS_PDFLATEX)" == "NO" ] ; then echo "PDFLaTeX or latexmk were not found! Please check README for further instructions" 1>&2; exit 1; fi
@(\ @(\
. $(VENV)/bin/activate ; env PYTHONWARNINGS= \ . $(VENV)/bin/activate ; env PYTHONWARNINGS= \
sphinx-build $(SPHINXEXTRA) -b latex -c $(SPHINXCONFIG) -d $(BUILDDIR)/doctrees $(RSTDIR) latex ;\ sphinx-build $(SPHINXEXTRA) -b latex -c $(SPHINXCONFIG) -d $(BUILDDIR)/doctrees $(RSTDIR) latex ;\

View File

@ -66,7 +66,7 @@ installed. This includes:
- tabulary - tabulary
- upquote - upquote
- wrapfig - wrapfig
Also the script tools latexmk and xindy are required to run PDFLaTeX Also the latexmk script is required to run PDFLaTeX and related tools.
the required number of times to have self-consistent output and include the required number of times to have self-consistent output and include
updated bibliography and indices. updated bibliography and indices.

View File

@ -132,7 +132,7 @@ Installing prerequisites for PDF build
In addition to the tools needed for building the HTML format manual, In addition to the tools needed for building the HTML format manual,
a working LaTeX installation with support for PDFLaTeX and a selection a working LaTeX installation with support for PDFLaTeX and a selection
of LaTeX styles/packages are required. To run the PDFLaTeX translation of LaTeX styles/packages are required. To run the PDFLaTeX translation
the tools ``latexmk`` and ``xindy`` need to be installed as well. the ``latexmk`` script needs to be installed as well.
Installing prerequisites for e-book reader builds Installing prerequisites for e-book reader builds
================================================= =================================================