Guard against 'current_directory == NULL' on gdb_abspath (PR gdb/23613)
[deliverable/binutils-gdb.git] / gas / doc / Makefile.am
index b200378ba67f818eb8b85958e13e53c6ffef2402..9bd50f4b77a871d167b3ee6bfdfaf72f905ba438 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to generate Makefile.in
 #
-#   Copyright 2012 Free Software Foundation
+#   Copyright (C) 2012-2019 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
 # <http://www.gnu.org/licenses/>.
 #
 
-AUTOMAKE_OPTIONS = 1.8 cygnus
+AUTOMAKE_OPTIONS = info-in-builddir no-texinfo.tex foreign
 
 # What version of the manual you want; "all" includes everything
 CONFIG=all
 
-# Options to extract the man page from as.texinfo
+# Options to extract the man page from as.texi
 MANCONF = -Dman
 
 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
@@ -32,7 +32,7 @@ POD2MAN = pod2man --center="GNU Development Tools" \
 
 man_MANS = as.1
 
-info_TEXINFOS = as.texinfo
+info_TEXINFOS = as.texi
 as_TEXINFOS = asconfig.texi $(CPU_DOCS)
 
 AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
@@ -52,45 +52,50 @@ CPU_DOCS = \
        c-arm.texi \
        c-avr.texi \
        c-bfin.texi \
+       c-bpf.texi \
        c-cr16.texi \
        c-cris.texi \
+       c-csky.texi \
        c-d10v.texi \
        c-epiphany.texi \
        c-h8300.texi \
        c-hppa.texi \
-       c-i370.texi \
        c-i386.texi \
-       c-i860.texi \
-       c-i960.texi \
        c-ip2k.texi \
        c-lm32.texi \
        c-m32c.texi \
        c-m32r.texi \
        c-m68hc11.texi \
        c-m68k.texi \
+       c-s12z.texi \
        c-metag.texi \
        c-microblaze.texi \
        c-mips.texi \
        c-mmix.texi \
        c-mt.texi \
        c-msp430.texi \
+       c-nios2.texi \
+       c-nds32.texi \
        c-ns32k.texi \
+       c-or1k.texi \
        c-pdp11.texi \
        c-pj.texi \
        c-ppc.texi \
+       c-pru.texi \
        c-rl78.texi \
+       c-riscv.texi \
        c-rx.texi \
        c-s390.texi \
        c-score.texi \
        c-sh.texi \
-       c-sh64.texi \
        c-sparc.texi \
         c-tic54x.texi \
         c-tic6x.texi \
        c-tilegx.texi \
        c-tilepro.texi \
-       c-vax.texi \
        c-v850.texi \
+       c-vax.texi \
+       c-visium.texi \
        c-xgate.texi \
        c-xstormy16.texi \
        c-xtensa.texi \
@@ -110,8 +115,6 @@ MAINTAINERCLEANFILES = asconfig.texi
 BASEDIR = $(srcdir)/../..
 BFDDIR = $(BASEDIR)/bfd
 
-CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
-
 # Maintenance
 
 # We need it for the taz target in ../../Makefile.in.
@@ -120,9 +123,9 @@ info-local: $(MANS)
 # Build the man page from the texinfo file
 # The sed command removes the no-adjust Nroff command so that
 # the man output looks standard.
-as.1: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS)
+as.1: $(srcdir)/as.texi asconfig.texi $(CPU_DOCS)
        touch $@
-       -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
+       -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texi > as.pod
        -($(POD2MAN) as.pod | \
                sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || \
@@ -130,10 +133,3 @@ as.1: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS)
        rm -f as.pod
 
 MAINTAINERCLEANFILES += as.info
-
-# Automake 1.9 will only build info files in the objdir if they are
-# mentioned in DISTCLEANFILES.  It doesn't have to be unconditional,
-# though, so we use a bogus condition.
-if GENINSRC_NEVER
-DISTCLEANFILES = as.info
-endif
This page took 0.030974 seconds and 4 git commands to generate.