gas: Update commit 4780e5e4933
[binutils-gdb.git] / gas / doc / Makefile.am
index 8819db8c48af7112dde7d8feba8e0053738d14ca..f2c6654e89da14bf6e887dfbbfc4885778c3dd80 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to generate Makefile.in
 #
-#   Copyright (C) 2012-2020 Free Software Foundation, Inc.
+#   Copyright (C) 2012-2021 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -36,7 +36,8 @@ info_TEXINFOS = as.texi
 as_TEXINFOS = asconfig.texi $(CPU_DOCS)
 
 AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
-                  -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
+                  -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc \
+                  --no-split
 TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
                   -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
 
@@ -132,4 +133,9 @@ as.1: $(srcdir)/as.texi asconfig.texi $(CPU_DOCS)
                (rm -f $@.T$$$$ && exit 1)
        rm -f as.pod
 
+html-local: as/index.html
+as/index.html: as.texi $(as_TEXINFOS)
+       $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
+         --split=node -I$(srcdir) $(srcdir)/as.texi
+
 MAINTAINERCLEANFILES += as.info