summaryrefslogtreecommitdiffstats
path: root/doc/main.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-02-21 19:19:48 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-02-26 08:03:57 -0600
commit94ca0708a2c3151fe7e92f97bb4ebeb65cb029c9 (patch)
treed72e64da49e642b86c63d0b0bf785843b83c4924 /doc/main.am
parentdoc: Update to build info format with texinfo 4.13 and 5.0 (diff)
downloadrtems-94ca0708a2c3151fe7e92f97bb4ebeb65cb029c9.tar.bz2
doc: Support texi2any and texi2html
This was tested with texi2html-1.82-5.1.el6.noarch and a locally built texinfo 5.0. These are completely different implementations and require different invocations. The Makefile dependencies appear to work but are likely not perfect at this point. The key point is that the autoconf probe detects which to use and responds accordingly with preference given to texi2any.
Diffstat (limited to '')
-rw-r--r--doc/main.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/main.am b/doc/main.am
index 3df1dd66ed..c19f7e6a25 100644
--- a/doc/main.am
+++ b/doc/main.am
@@ -4,5 +4,13 @@ endif
TEXI2HTML_ARGS=\
-D use-html --split node \
+-o ./ \
+--top-file index.html \
--init-file=$(top_builddir)/texi2html_init \
-I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+
+TEXI2ANY_ARGS=\
+--html -D use-html --split node \
+-o ./ \
+--init-file=$(top_builddir)/texi2any_init \
+-I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .