Module Name: src Committed By: rin Date: Sat Aug 31 03:17:58 UTC 2024
Modified Files: src/external/gpl3/gdb/dist/gdb/doc: Makefile.in Log Message: gdb: Stop installing info files when built as cross-gdb which requires GPLv3 version of texinfo. Fix MKCROSSGDB=yes build. - Disable regen for man pages again. Irrelevant to normal build, which already does not regen them. Pre-generated man pages are installed both for native- and cross-gdb. - Drop `install-info` from `install`. With this change, mknative-gdb still can generate *.info, as it does not relay on `install`. Info files are no longer installed for cross-gdb. Thanks martin@ and mrg@ for hints :) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gdb/dist/gdb/doc/Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/dist/gdb/doc/Makefile.in diff -u src/external/gpl3/gdb/dist/gdb/doc/Makefile.in:1.5 src/external/gpl3/gdb/dist/gdb/doc/Makefile.in:1.6 --- src/external/gpl3/gdb/dist/gdb/doc/Makefile.in:1.5 Sun Aug 18 03:45:52 2024 +++ src/external/gpl3/gdb/dist/gdb/doc/Makefile.in Sat Aug 31 03:17:58 2024 @@ -676,12 +676,16 @@ annotate/index.html: $(ANNOTATE_DOC_FILE # trigger an attempt to rebuild these files while building and # installing a release of GDB, which is something we don't want. $(MAN1S) : %.1 : $(GDB_DOC_FILES) + @echo "NOT REBUILDING $@" +NetBSD_DISABLED_MAN1S: $(ECHO_TEXI2POD) $(TEXI2POD) $(MANCONF) -D$* < $(srcdir)/gdb.texinfo > $*.pod $(ECHO_TEXI2MAN) ($(POD2MAN1) $*.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \ mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1) $(SILENCE) rm -f $*.pod $(MAN5S) : %.5 : $(GDB_DOC_FILES) + @echo "NOT REBUILDING $@" +NetBSD_DISABLED_MAN5S: $(ECHO_TEXI2POD) $(TEXI2POD) $(MANCONF) -D$* < $(srcdir)/gdb.texinfo > $*.pod $(ECHO_TEXI2MAN) ($(POD2MAN5) $*.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \ mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1) @@ -717,7 +721,8 @@ distclean: clean maintainer-clean realclean: distclean rm -f GDBvn.texi version.subst *.info* *.dvi *.ps *.html *.pdf $(MANS) -install: install-info install-man +install: install-man +NetBSD_DISABLED_install: install-info install uninstall: uninstall-info uninstall-man