gas: Update commit 4780e5e4933
[binutils-gdb.git] / gas / doc / Makefile.am
index 8ee7b2bedd81621cc017934af338bc5b6f63f28f..f2c6654e89da14bf6e887dfbbfc4885778c3dd80 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to generate Makefile.in
 #
-#   Copyright (C) 2012-2019 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
 
@@ -52,6 +53,7 @@ CPU_DOCS = \
        c-arm.texi \
        c-avr.texi \
        c-bfin.texi \
+       c-bpf.texi \
        c-cr16.texi \
        c-cris.texi \
        c-csky.texi \
@@ -131,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