]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/doc/Makefile.am
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / binutils / doc / Makefile.am
index 0848ee5c153398aa9ef3b27996980854faececa1..a1e07ec246e7006639ccdc619d8f9560ab6c99c7 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to generate Makefile.in
 #
-#   Copyright (C) 2012-2018 Free Software Foundation, Inc.
+#   Copyright (C) 2012-2020 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
@@ -17,7 +17,7 @@
 # <http://www.gnu.org/licenses/>.
 #
 
-AUTOMAKE_OPTIONS = cygnus
+AUTOMAKE_OPTIONS = info-in-builddir no-texinfo.tex foreign
 
 # What version of the manual you want; "all" includes everything
 CONFIG=all
@@ -35,7 +35,6 @@ man_MANS = \
        addr2line.1 \
        ar.1 \
        dlltool.1 \
-       nlmconv.1 \
        nm.1 \
        objcopy.1 \
        objdump.1 \
@@ -58,119 +57,112 @@ TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
                    -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
 
 # Man page generation from texinfo
-addr2line.1:   $(binutils_TEXI) $(binutils_TEXINFOS)
+addr2line.1:   $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Daddr2line < $(binutils_TEXI) > addr2line.pod
        -($(POD2MAN) addr2line.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f addr2line.pod
 
-ar.1:  $(binutils_TEXI) $(binutils_TEXINFOS)
+ar.1:  $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dar < $(binutils_TEXI) > ar.pod
        -($(POD2MAN) ar.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f ar.pod
 
-dlltool.1:     $(binutils_TEXI) $(binutils_TEXINFOS)
+dlltool.1:     $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Ddlltool < $(binutils_TEXI) > dlltool.pod
        -($(POD2MAN) dlltool.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f dlltool.pod
 
-nlmconv.1:     $(binutils_TEXI) $(binutils_TEXINFOS)
-       touch $@
-       -$(TEXI2POD) $(MANCONF) -Dnlmconv < $(binutils_TEXI) > nlmconv.pod
-       -($(POD2MAN) nlmconv.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       rm -f nlmconv.pod
-
-nm.1:  $(binutils_TEXI) $(binutils_TEXINFOS)
+nm.1:  $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dnm < $(binutils_TEXI) > nm.pod
        -($(POD2MAN) nm.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f nm.pod
 
-objcopy.1:     $(binutils_TEXI) $(binutils_TEXINFOS)
+objcopy.1:     $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dobjcopy < $(binutils_TEXI) > objcopy.pod
        -($(POD2MAN) objcopy.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f objcopy.pod
 
-objdump.1:     $(binutils_TEXI) $(binutils_TEXINFOS)
+objdump.1:     $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dobjdump < $(binutils_TEXI) > objdump.pod
        -($(POD2MAN) objdump.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f objdump.pod
 
-ranlib.1:      $(binutils_TEXI) $(binutils_TEXINFOS)
+ranlib.1:      $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dranlib < $(binutils_TEXI) > ranlib.pod
        -($(POD2MAN) ranlib.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f ranlib.pod
 
-readelf.1:     $(binutils_TEXI) $(binutils_TEXINFOS)
+readelf.1:     $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dreadelf < $(binutils_TEXI) > readelf.pod
        -($(POD2MAN) readelf.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f readelf.pod
 
-size.1:        $(binutils_TEXI) $(binutils_TEXINFOS)
+size.1:        $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dsize < $(binutils_TEXI) > size.pod
        -($(POD2MAN) size.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f size.pod
 
-strings.1:     $(binutils_TEXI) $(binutils_TEXINFOS)
+strings.1:     $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dstrings < $(binutils_TEXI) > strings.pod
        -($(POD2MAN) strings.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f strings.pod
 
-strip.1:       $(binutils_TEXI) $(binutils_TEXINFOS)
+strip.1:       $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dstrip < $(binutils_TEXI) > strip.pod
        -($(POD2MAN) strip.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f strip.pod
 
-elfedit.1:     $(binutils_TEXI) $(binutils_TEXINFOS)
+elfedit.1:     $(binutils_TEXI)
        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)
+windres.1:     $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dwindres < $(binutils_TEXI) > windres.pod
        -($(POD2MAN) windres.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f windres.pod
 
-windmc.1:      $(binutils_TEXI) $(binutils_TEXINFOS)
+windmc.1:      $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dwindmc < $(binutils_TEXI) > windmc.pod
        -($(POD2MAN) windmc.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f windmc.pod
 
-cxxfilt.man:   $(binutils_TEXI) $(binutils_TEXINFOS)
+cxxfilt.man:   $(binutils_TEXI)
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dcxxfilt < $(binutils_TEXI) > $(DEMANGLER_NAME).pod
        -($(POD2MAN) $(DEMANGLER_NAME).pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        rm -f $(DEMANGLER_NAME).pod
 
-MOSTLYCLEANFILES     = $(DEMANGLER_NAME).1
+MOSTLYCLEANFILES     = $(man_MANS) binutils.info cxxfilt.man
 
 $(DEMANGLER_NAME).1: cxxfilt.man Makefile
        if test -f cxxfilt.man; then \
@@ -182,19 +174,6 @@ $(DEMANGLER_NAME).1: cxxfilt.man Makefile
            -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
                > $(DEMANGLER_NAME).1
 
-# We want install to imply install-info as per GNU standards, despite the
-# cygnus option.
-install-data-local: install-info
-
-MAINTAINERCLEANFILES = binutils.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 = binutils.info
-endif
-
 # Maintenance
 
 # We need it for the taz target in ../../Makefile.in.