public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Vladimir Mezentsev <vmezents@sourceware.org>
To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org
Subject: [binutils-gdb] gprofng: no need to build version.texi
Date: Tue, 11 Oct 2022 07:18:19 +0000 (GMT)	[thread overview]
Message-ID: <20221011071819.2A8123858C2D@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3f2ef5ba4278e7a436208b4aa48e7cb599392a92

commit 3f2ef5ba4278e7a436208b4aa48e7cb599392a92
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date:   Mon Oct 10 16:50:13 2022 -0700

    gprofng: no need to build version.texi
    
    gprofng/ChangeLog
    2022-10-10  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>
    
            PR gprofng/29465
            PR gprofng/29667
            * doc/Makefile.am: No need to build version.texi.
            * doc/Makefile.in: Rebuild.

Diff:
---
 gprofng/doc/Makefile.am | 10 ----------
 gprofng/doc/Makefile.in | 23 ++++-------------------
 2 files changed, 4 insertions(+), 29 deletions(-)

diff --git a/gprofng/doc/Makefile.am b/gprofng/doc/Makefile.am
index 151e65a77e8..4b63b96fdca 100644
--- a/gprofng/doc/Makefile.am
+++ b/gprofng/doc/Makefile.am
@@ -21,17 +21,7 @@ AUTOMAKE_OPTIONS = info-in-builddir foreign no-texinfo.tex
 
 info_TEXINFOS       = gprofng.texi
 gprofng_TEXINFOS    = fdl.texi
-BUILT_SOURCES       = version.texi
-CLEANFILES          = version.texi
 TEXINFO_TEX         = .
 MAKEINFOHTML        = $(MAKEINFO) --html --no-split
 
-version.texi: 
-	@echo "@set EDITION 1.0"                    > $@
-	@echo "@set VERSION 1.0"                   >> $@
-	@echo "@set UPDATED 22 February 2022"      >> $@
-	@echo "@set UPDATED-MONTH February 2022"   >> $@
-#	@echo "@set UPDATED `date +"%-d %B %Y"`"   >> $@
-#	@echo "@set UPDATED-MONTH `date +"%B %Y"`" >> $@
-
 MAINTAINERCLEANFILES = gprofng.info
diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in
index 4050586f6a8..969b5e52b3b 100644
--- a/gprofng/doc/Makefile.in
+++ b/gprofng/doc/Makefile.in
@@ -363,15 +363,10 @@ zlibinc = @zlibinc@
 AUTOMAKE_OPTIONS = info-in-builddir foreign no-texinfo.tex
 info_TEXINFOS = gprofng.texi
 gprofng_TEXINFOS = fdl.texi
-BUILT_SOURCES = version.texi
-CLEANFILES = version.texi
 TEXINFO_TEX = .
 MAKEINFOHTML = $(MAKEINFO) --html --no-split
-#	@echo "@set UPDATED `date +"%-d %B %Y"`"   >> $@
-#	@echo "@set UPDATED-MONTH `date +"%B %Y"`" >> $@
 MAINTAINERCLEANFILES = gprofng.info
-all: $(BUILT_SOURCES)
-	$(MAKE) $(AM_MAKEFLAGS) all-am
+all: all-am
 
 .SUFFIXES:
 .SUFFIXES: .dvi .ps
@@ -604,15 +599,13 @@ distdir: $(DISTFILES)
 	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
 	  dist-info
 check-am: all-am
-check: $(BUILT_SOURCES)
-	$(MAKE) $(AM_MAKEFLAGS) check-am
+check: check-am
 all-am: Makefile $(INFO_DEPS)
 installdirs:
 	for dir in "$(DESTDIR)$(infodir)"; do \
 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
 	done
-install: $(BUILT_SOURCES)
-	$(MAKE) $(AM_MAKEFLAGS) install-am
+install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
 uninstall: uninstall-am
@@ -634,7 +627,6 @@ install-strip:
 mostlyclean-generic:
 
 clean-generic:
-	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -643,7 +635,6 @@ distclean-generic:
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
 	@echo "it deletes files that may require special tools to rebuild."
-	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
 	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
 clean: clean-am
 
@@ -805,7 +796,7 @@ ps-am: $(PSS)
 uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
 	uninstall-pdf-am uninstall-ps-am
 
-.MAKE: all check install install-am install-strip
+.MAKE: install-am install-strip
 
 .PHONY: all all-am check check-am clean clean-aminfo clean-generic \
 	clean-libtool cscopelist-am ctags-am dist-info distclean \
@@ -826,12 +817,6 @@ uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
 .PRECIOUS: Makefile
 
 
-version.texi: 
-	@echo "@set EDITION 1.0"                    > $@
-	@echo "@set VERSION 1.0"                   >> $@
-	@echo "@set UPDATED 22 February 2022"      >> $@
-	@echo "@set UPDATED-MONTH February 2022"   >> $@
-
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:

                 reply	other threads:[~2022-10-11  7:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221011071819.2A8123858C2D@sourceware.org \
    --to=vmezents@sourceware.org \
    --cc=bfd-cvs@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).