public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gprofng: no need to build version.texi
@ 2022-10-11  7:18 Vladimir Mezentsev
  0 siblings, 0 replies; only message in thread
From: Vladimir Mezentsev @ 2022-10-11  7:18 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

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:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-11  7:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11  7:18 [binutils-gdb] gprofng: no need to build version.texi Vladimir Mezentsev

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).