Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist disable rebuilding man pages fro...



details:   https://anonhg.NetBSD.org/src/rev/d76e7ea0155b
branches:  trunk
changeset: 372847:d76e7ea0155b
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 30 15:41:35 2022 +0000

description:
disable rebuilding man pages from texinfo to avoid writing to the source tree

diffstat:

 external/gpl3/binutils/dist/binutils/Makefile.in   |  228 ++++++------
 external/gpl3/binutils/dist/binutils/doc/c++filt.1 |  376 +++++++++++++++++++++
 external/gpl3/binutils/dist/binutils/doc/local.mk  |  232 ++++++------
 external/gpl3/binutils/dist/gas/Makefile.in        |   52 +-
 external/gpl3/binutils/dist/gas/doc/local.mk       |   16 +-
 5 files changed, 640 insertions(+), 264 deletions(-)

diffs (truncated from 955 to 300 lines):

diff -r d6765688056e -r d76e7ea0155b external/gpl3/binutils/dist/binutils/Makefile.in
--- a/external/gpl3/binutils/dist/binutils/Makefile.in  Fri Dec 30 15:25:14 2022 +0000
+++ b/external/gpl3/binutils/dist/binutils/Makefile.in  Fri Dec 30 15:41:35 2022 +0000
@@ -2023,120 +2023,120 @@
        done
 
 # Man page generation from texinfo
-doc/addr2line.1:       $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Daddr2line < $(binutils_TEXI) > addr2line.pod
-       $(AM_V_at)-($(POD2MAN) addr2line.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f addr2line.pod
-
-doc/ar.1:      $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dar < $(binutils_TEXI) > ar.pod
-       $(AM_V_at)-($(POD2MAN) ar.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f ar.pod
-
-doc/dlltool.1: $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Ddlltool < $(binutils_TEXI) > dlltool.pod
-       $(AM_V_at)-($(POD2MAN) dlltool.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f dlltool.pod
-
-doc/nm.1:      $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dnm < $(binutils_TEXI) > nm.pod
-       $(AM_V_at)-($(POD2MAN) nm.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f nm.pod
-
-doc/objcopy.1: $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dobjcopy < $(binutils_TEXI) > objcopy.pod
-       $(AM_V_at)-($(POD2MAN) objcopy.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f objcopy.pod
-
-doc/objdump.1: $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dobjdump < $(binutils_TEXI) > objdump.pod
-       $(AM_V_at)-($(POD2MAN) objdump.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f objdump.pod
-
-doc/ranlib.1:  $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dranlib < $(binutils_TEXI) > ranlib.pod
-       $(AM_V_at)-($(POD2MAN) ranlib.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f ranlib.pod
-
-doc/readelf.1: $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dreadelf < $(binutils_TEXI) > readelf.pod
-       $(AM_V_at)-($(POD2MAN) readelf.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f readelf.pod
-
-doc/size.1:    $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dsize < $(binutils_TEXI) > size.pod
-       $(AM_V_at)-($(POD2MAN) size.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f size.pod
-
-doc/strings.1: $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dstrings < $(binutils_TEXI) > strings.pod
-       $(AM_V_at)-($(POD2MAN) strings.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f strings.pod
-
-doc/strip.1:   $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dstrip < $(binutils_TEXI) > strip.pod
-       $(AM_V_at)-($(POD2MAN) strip.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f strip.pod
-
-doc/elfedit.1: $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Delfedit < $(binutils_TEXI) > elfedit.pod
-       $(AM_V_at)-($(POD2MAN) elfedit.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f elfedit.pod
-
-doc/windres.1: $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dwindres < $(binutils_TEXI) > windres.pod
-       $(AM_V_at)-($(POD2MAN) windres.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f windres.pod
-
-doc/windmc.1:  $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dwindmc < $(binutils_TEXI) > windmc.pod
-       $(AM_V_at)-($(POD2MAN) windmc.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f windmc.pod
-
-doc/cxxfilt.man:       $(binutils_TEXI) doc/$(am__dirstamp)
-       $(AM_V_GEN)touch $@
-       $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $(binutils_TEXI) > $(DEMANGLER_NAME).pod
-       $(AM_V_at)-($(POD2MAN) $(DEMANGLER_NAME).pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
-               mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
-       $(AM_V_at)rm -f $(DEMANGLER_NAME).pod
-
-doc/$(DEMANGLER_NAME).1: doc/cxxfilt.man Makefile doc/$(am__dirstamp)
-       $(AM_V_GEN)if test -f doc/cxxfilt.man; then \
-         man=doc/cxxfilt.man; \
-       else \
-         man=$(srcdir)/doc/cxxfilt.man; \
-       fi; \
-       sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
-           -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
-               > doc/$(DEMANGLER_NAME).1
+#doc/addr2line.1:      $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Daddr2line < $(binutils_TEXI) > addr2line.pod
+#      $(AM_V_at)-($(POD2MAN) addr2line.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f addr2line.pod
+#
+#doc/ar.1:     $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dar < $(binutils_TEXI) > ar.pod
+#      $(AM_V_at)-($(POD2MAN) ar.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f ar.pod
+#
+#doc/dlltool.1:        $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Ddlltool < $(binutils_TEXI) > dlltool.pod
+#      $(AM_V_at)-($(POD2MAN) dlltool.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f dlltool.pod
+#
+#doc/nm.1:     $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dnm < $(binutils_TEXI) > nm.pod
+#      $(AM_V_at)-($(POD2MAN) nm.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f nm.pod
+#
+#doc/objcopy.1:        $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dobjcopy < $(binutils_TEXI) > objcopy.pod
+#      $(AM_V_at)-($(POD2MAN) objcopy.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f objcopy.pod
+#
+#doc/objdump.1:        $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dobjdump < $(binutils_TEXI) > objdump.pod
+#      $(AM_V_at)-($(POD2MAN) objdump.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f objdump.pod
+#
+#doc/ranlib.1: $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dranlib < $(binutils_TEXI) > ranlib.pod
+#      $(AM_V_at)-($(POD2MAN) ranlib.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f ranlib.pod
+#
+#doc/readelf.1:        $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dreadelf < $(binutils_TEXI) > readelf.pod
+#      $(AM_V_at)-($(POD2MAN) readelf.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f readelf.pod
+#
+#doc/size.1:   $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dsize < $(binutils_TEXI) > size.pod
+#      $(AM_V_at)-($(POD2MAN) size.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f size.pod
+#
+#doc/strings.1:        $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dstrings < $(binutils_TEXI) > strings.pod
+#      $(AM_V_at)-($(POD2MAN) strings.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f strings.pod
+#
+#doc/strip.1:  $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dstrip < $(binutils_TEXI) > strip.pod
+#      $(AM_V_at)-($(POD2MAN) strip.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f strip.pod
+#
+#doc/elfedit.1:        $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Delfedit < $(binutils_TEXI) > elfedit.pod
+#      $(AM_V_at)-($(POD2MAN) elfedit.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f elfedit.pod
+#
+#doc/windres.1:        $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dwindres < $(binutils_TEXI) > windres.pod
+#      $(AM_V_at)-($(POD2MAN) windres.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f windres.pod
+#
+#doc/windmc.1: $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dwindmc < $(binutils_TEXI) > windmc.pod
+#      $(AM_V_at)-($(POD2MAN) windmc.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f windmc.pod
+#
+#doc/cxxfilt.man:      $(binutils_TEXI) doc/$(am__dirstamp)
+#      $(AM_V_GEN)touch $@
+#      $(AM_V_at)-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $(binutils_TEXI) > $(DEMANGLER_NAME).pod
+#      $(AM_V_at)-($(POD2MAN) $(DEMANGLER_NAME).pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+#              mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+#      $(AM_V_at)rm -f $(DEMANGLER_NAME).pod
+#
+#doc/$(DEMANGLER_NAME).1: doc/cxxfilt.man Makefile doc/$(am__dirstamp)
+#      $(AM_V_GEN)if test -f doc/cxxfilt.man; then \
+#        man=doc/cxxfilt.man; \
+#      else \
+#        man=$(srcdir)/doc/cxxfilt.man; \
+#      fi; \
+#      sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
+#          -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
+#              > doc/$(DEMANGLER_NAME).1
 
 html-local: doc/binutils/index.html
 doc/binutils/index.html: doc/binutils.texi $(binutils_TEXINFOS)
diff -r d6765688056e -r d76e7ea0155b external/gpl3/binutils/dist/binutils/doc/c++filt.1
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils/dist/binutils/doc/c++filt.1        Fri Dec 30 15:41:35 2022 +0000
@@ -0,0 +1,376 @@
+.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35)
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
+.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+.    ds C`
+.    ds C'
+'br\}
+.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\"
+.\" If the F register is >0, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.\"
+.\" Avoid warning from groff about undefined register 'F'.
+.de IX
+..
+.nr rF 0
+.if \n(.g .if rF .nr rF 1



Home | Main Index | Thread Index | Old Index