]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/doc: use POD2MAN5 when appropriate
authorAndrew Burgess <aburgess@redhat.com>
Thu, 6 Jun 2024 16:55:54 +0000 (17:55 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 6 Jun 2024 17:01:34 +0000 (18:01 +0100)
In commit:

  commit 824083f34c222aa7419e2ea58e82d6f230d5f531
  Date:   Fri Apr 12 17:47:20 2024 +0100

      gdb/doc: use silent-rules.mk in the Makefile

I rewrote the rules for building the man pages.  While doing this I
accidentally switched from using MAN2POD5 to MAN2POD1 for generating
the file gdbinit.5.

Restore use of MAN2POD5 where appropriate.

gdb/doc/Makefile.in

index 6a112b98d0e092b09d5388ebb62c2290672a71d2..d9c13873a60d42f847c7051036de8861dfe7c0bb 100644 (file)
@@ -679,7 +679,7 @@ $(MAN1S) : %.1 : $(GDB_DOC_FILES)
 
 $(MAN5S) : %.5 : $(GDB_DOC_FILES)
        $(ECHO_TEXI2POD) $(TEXI2POD) $(MANCONF) -D$* < $(srcdir)/gdb.texinfo > $*.pod
-       $(ECHO_TEXI2MAN) ($(POD2MAN1) $*.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+       $(ECHO_TEXI2MAN) ($(POD2MAN5) $*.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
                mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
        $(SILENCE) rm -f $*.pod