X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=binutils%2Fdoc%2FMakefile.am;h=eb0a6873d46cbb09fe53d11b4138413356b6dc82;hb=8cc2a9796024f2dd472985cc8ed1c65a85ec9a35;hp=ceeda41b004f6590406d29d1401eb5bf1496b483;hpb=692ed3e78f3d4964ece4b830d5d3138a6b453eba;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/doc/Makefile.am b/binutils/doc/Makefile.am index ceeda41b00..eb0a6873d4 100644 --- a/binutils/doc/Makefile.am +++ b/binutils/doc/Makefile.am @@ -1,4 +1,21 @@ ## Process this file with automake to generate Makefile.in +# +# Copyright (C) 2012-2017 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 = cygnus @@ -27,6 +44,7 @@ man_MANS = \ size.1 \ strings.1 \ strip.1 \ + elfedit.1 \ windres.1 \ windmc.1 \ $(DEMANGLER_NAME).1 @@ -35,9 +53,9 @@ info_TEXINFOS = binutils.texi binutils_TEXI = $(srcdir)/binutils.texi AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \ - -I ../../bfd/doc + -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \ - -I ../../bfd/doc + -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc # Man page generation from texinfo addr2line.1: $(binutils_TEXI) $(binutils_TEXINFOS) @@ -124,6 +142,13 @@ strip.1: $(binutils_TEXI) $(binutils_TEXINFOS) mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1) rm -f strip.pod +elfedit.1: $(binutils_TEXI) $(binutils_TEXINFOS) + touch $@ + -$(TEXI2POD) $(MANCONF) -Delfedit < $(binutils_TEXI) > elfedit.pod + -($(POD2MAN) elfedit.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \ + mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1) + rm -f elfedit.pod + windres.1: $(binutils_TEXI) $(binutils_TEXINFOS) touch $@ -$(TEXI2POD) $(MANCONF) -Dwindres < $(binutils_TEXI) > windres.pod @@ -161,27 +186,6 @@ $(DEMANGLER_NAME).1: cxxfilt.man Makefile # 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 - MAINTAINERCLEANFILES = binutils.info # Automake 1.9 will only build info files in the objdir if they are