diff options
author | Bruno Haible <bruno@clisp.org> | 2016-11-19 16:40:29 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2016-11-19 16:40:29 +0100 |
commit | 2dcc70b0c9899ddb535f9f465cb422b3abf608ef (patch) | |
tree | d717c976a11add3af7c79991f34d51d6808b3b43 | |
parent | da47220e1f36796a9e88c1245e64b243d4a9487d (diff) | |
download | gperf-2dcc70b0c9899ddb535f9f465cb422b3abf608ef.tar.gz |
doc: Prepare for possible use of GNU texi2any.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/Makefile.in | 7 |
2 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,11 @@ 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> + doc: Don't generate Postscript-formatted doc by default. * doc/Makefile.in (all): Don't depend on 'ps'. diff --git a/doc/Makefile.in b/doc/Makefile.in index b90bb94..37b488d 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -50,6 +50,7 @@ DVIPS = dvips -D600 TEXI2PDF = texi2pdf MAKEINFO = LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo TEXI2HTML = perl $(srcdir)/texi2html +TEXI2ANY = texi2any # Programs used by "make install": INSTALL = @INSTALL@ @@ -96,13 +97,19 @@ $(srcdir)/gperf.pdf : $(srcdir)/gperf.texi $(srcdir)/gpl-3.0.texi 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 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 cd $(srcdir) && $(RM) gperf_*.html 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 |