texi2html-5.0 complains on -number argument:

    Option number is ambiguous (number-footnotes, number-sections)

This patch updates texi2html arguments to comply with texi2html-5.0.

Signed-off-by: Petr Písař <ppi...@redhat.com>
---
 doc/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index d1fb09a..5eb9dc0 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -34,14 +34,14 @@ html-monolithic: @PACKAGE@.html
 html-split: @PACKAGE@_toc.html
 
 @PACKAGE@.html: version.texi $(@PACKAGE@_TEXINFOS)
-       $(TEXI2HTML) -expandinfo -number -monolithic `if test -f 
@PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo 
$(srcdir)/@PACKAGE@.texinfo; fi`
+       $(TEXI2HTML) -expand info -number-sections -monolithic `if test -f 
@PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo 
$(srcdir)/@PACKAGE@.texinfo; fi`
 
 @PACKAGE@_toc.html: version.texi $(@PACKAGE@_TEXINFOS)
        case "$(TEXI2HTML)" in \
          *"/missing texi2html") \
-            $(TEXI2HTML) -expand info -number -nomenu -split section `if test 
-f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo 
$(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \
+            $(TEXI2HTML) -expand info -number-sections -nomenu -split section 
`if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo 
$(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \
          *) $(RM) @PACKAGE@_*.html ; \
-            $(TEXI2HTML) -expand info -number -nomenu -split section `if test 
-f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo 
$(srcdir)/@PACKAGE@.texinfo; fi` ;; \
+            $(TEXI2HTML) -expand info -number-sections -nomenu -split section 
`if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo 
$(srcdir)/@PACKAGE@.texinfo; fi` ;; \
        esac
 
 install-html-monolithic: @PACKAGE@.html
-- 
2.1.0


_______________________________________________
bug-indent mailing list
bug-indent@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to