1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

doc: Prepare for possible use of GNU texi2any.

This commit is contained in:
Bruno Haible
2016-11-19 16:40:29 +01:00
parent da47220e1f
commit 2dcc70b0c9
2 changed files with 13 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2016-11-19 Bruno Haible <bruno@clisp.org>
doc: Prepare for possible use of GNU texi2any.
* doc/Makefile.in (TEXI2ANY): New variable.
(gperf_0.html): New rule.
2016-11-19 Bruno Haible <bruno@clisp.org> 2016-11-19 Bruno Haible <bruno@clisp.org>
doc: Don't generate Postscript-formatted doc by default. doc: Don't generate Postscript-formatted doc by default.

View File

@@ -50,6 +50,7 @@ DVIPS = dvips -D600
TEXI2PDF = texi2pdf TEXI2PDF = texi2pdf
MAKEINFO = LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo MAKEINFO = LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo
TEXI2HTML = perl $(srcdir)/texi2html TEXI2HTML = perl $(srcdir)/texi2html
TEXI2ANY = texi2any
# Programs used by "make install": # Programs used by "make install":
INSTALL = @INSTALL@ INSTALL = @INSTALL@
@@ -96,13 +97,19 @@ $(srcdir)/gperf.pdf : $(srcdir)/gperf.texi $(srcdir)/gpl-3.0.texi
html : gperf.html gperf_toc.html html : gperf.html gperf_toc.html
# We still prefer texi2html over texi2any because it includes the titlepage.
gperf.html : $(srcdir)/gperf.texi $(srcdir)/gpl-3.0.texi gperf.html : $(srcdir)/gperf.texi $(srcdir)/gpl-3.0.texi
cd $(srcdir) && $(TEXI2HTML) -number -monolithic gperf.texi cd $(srcdir) && $(TEXI2HTML) -number -monolithic gperf.texi
# cd $(srcdir) && $(TEXI2ANY) --html --no-headers --no-split gperf.texi
gperf_toc.html : $(srcdir)/gperf.texi $(srcdir)/gpl-3.0.texi gperf_toc.html : $(srcdir)/gperf.texi $(srcdir)/gpl-3.0.texi
cd $(srcdir) && $(RM) gperf_*.html cd $(srcdir) && $(RM) gperf_*.html
cd $(srcdir) && $(TEXI2HTML) -number -split_chapter gperf.texi cd $(srcdir) && $(TEXI2HTML) -number -split_chapter gperf.texi
gperf_0.html : $(srcdir)/gperf.texi $(srcdir)/gpl-3.0.texi
cd $(srcdir) && $(TEXI2ANY) --html --no-headers --split=chapter --no-node-files -o . gperf.texi
man : gperf.1 man : gperf.1