X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdoc%2FMakefile.am;h=54d7ef1b5cad47eabb6824096c2ebfcfecd9a52f;hb=4f7eddc4d1a03c982a4f0361879bc5347b921b10;hp=72f4b0e3bb5c549703f2cbcf6d26e85343cdd824;hpb=8473f7a446bf3883ec64758583910ab497d4bc10;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/doc/Makefile.am b/gas/doc/Makefile.am index 72f4b0e3bb..54d7ef1b5c 100644 --- a/gas/doc/Makefile.am +++ b/gas/doc/Makefile.am @@ -1,4 +1,21 @@ ## Process this file with automake to generate Makefile.in +# +# Copyright (C) 2012-2016 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 +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING3. If not see +# . +# AUTOMAKE_OPTIONS = 1.8 cygnus @@ -15,9 +32,13 @@ POD2MAN = pod2man --center="GNU Development Tools" \ man_MANS = as.1 -info_TEXINFOS = as.texinfo +info_TEXINFOS = as.texinfo +as_TEXINFOS = asconfig.texi $(CPU_DOCS) -AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" +AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \ + -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc +TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \ + -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc asconfig.texi: $(CONFIG).texi rm -f asconfig.texi @@ -25,13 +46,16 @@ asconfig.texi: $(CONFIG).texi chmod u+w ./asconfig.texi CPU_DOCS = \ + c-aarch64.texi \ c-alpha.texi \ c-arc.texi \ c-arm.texi \ c-avr.texi \ c-bfin.texi \ - c-d10v.texi \ + c-cr16.texi \ c-cris.texi \ + c-d10v.texi \ + c-epiphany.texi \ c-h8300.texi \ c-hppa.texi \ c-i370.texi \ @@ -39,71 +63,57 @@ CPU_DOCS = \ 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-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-pdp11.texi \ c-pj.texi \ c-ppc.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-vax.texi \ + c-tic6x.texi \ + c-tilegx.texi \ + c-tilepro.texi \ c-v850.texi \ + c-vax.texi \ + c-visium.texi \ + c-xgate.texi \ + c-xstormy16.texi \ c-xtensa.texi \ c-z80.texi \ c-z8k.texi -gasver.texi: $(srcdir)/../../bfd/configure - rm -f $@ - eval `grep '^ *VERSION=' $(srcdir)/../../bfd/configure`; \ - echo "@set VERSION $$VERSION" > $@ - -$(srcdir)/as.info as.dvi as.html: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) - # We want install to imply install-info as per GNU standards, despite the # cygnus option. install-data-local: install-info -html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; - -install-html: install-html-am - -install-html-am: $(HTMLS) - @$(NORMAL_INSTALL) - test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" - @list='$(HTMLS)'; for p in $$list; do \ - if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \ - f=$(html__strip_dir) \ - if test -d "$$d$$p"; then \ - echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \ - $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ - echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ - $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \ - else \ - echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ - $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ - fi; \ - done - # This one isn't ready for prime time yet. Not even a little bit. noinst_TEXINFOS = internals.texi -MAINTAINERCLEANFILES = asconfig.texi gasver.texi +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. @@ -112,7 +122,7 @@ 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 gasver.texi $(CPU_DOCS) +as.1: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS) touch $@ -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod -($(POD2MAN) as.pod | \ @@ -120,3 +130,12 @@ as.1: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) mv -f $@.T$$$$ $@) || \ (rm -f $@.T$$$$ && exit 1) 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