[PATCH 02/11] Fix html doc generation

Tim Hentenaar <[email protected]> Mon, 15 Jun 2015 21:52:53 +0200
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <[email protected]>
---
 ChangeLog       | 1 +
 doc/Makefile.am | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5c0b3d7..12da291 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2015-06-13 Tim Hentenaar <[email protected]>
 	* lexi.c: Fix a compilation error related to the presence of
 	  the __gnu_inlne__ attribute on the functions in gperf.c/gperf-cc.c
+	* Fixed HTML documentation generation
 
 2014-04-07  Andrew Shadura  <[email protected]>
 	* Don't add extra 'const' keyword to C++ programs (closes Debian bugs
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 3371088..16cc4dd 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -34,14 +34,14 @@ html-monolithic: @[email protected]
 html-split: @PACKAGE@_toc.html
 
 @[email protected]: version.texi $(@PACKAGE@_TEXINFOS)
-	$(TEXI2HTML) -expandinfo -number -monolithic `if test -f @[email protected]; then echo @[email protected]; else echo $(srcdir)/@[email protected]; fi`
+	$(TEXI2HTML) -expandinfo -number-sections -monolithic `if test -f @[email protected]; then echo @[email protected]; else echo $(srcdir)/@[email protected]; fi`
 
 @PACKAGE@_toc.html: version.texi $(@PACKAGE@_TEXINFOS)
 	case "$(TEXI2HTML)" in \
 	  *"/missing texi2html") \
-	     $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @[email protected]; then echo @[email protected]; else echo $(srcdir)/@[email protected]; fi` || exit 0 ;; \
+	     $(TEXI2HTML) -expand info -number-sections -nomenu -split section `if test -f @[email protected]; then echo @[email protected]; else echo $(srcdir)/@[email protected]; fi` || exit 0 ;; \
 	  *) $(RM) @PACKAGE@_*.html ; \
-	     $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @[email protected]; then echo @[email protected]; else echo $(srcdir)/@[email protected]; fi` ;; \
+	     $(TEXI2HTML) -expand info -number-sections -nomenu -split section `if test -f @[email protected]; then echo @[email protected]; else echo $(srcdir)/@[email protected]; fi` ;; \
 	esac
 
 install-html-monolithic: @[email protected]
-- 
2.3.6