gprofng: fix regression in man page installation

Message ID 20241017160508.2322381-1-vladimir.mezentsev@oracle.com
State New
Headers
Series gprofng: fix regression in man page installation |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 fail Patch failed to apply

Commit Message

Vladimir Mezentsev Oct. 17, 2024, 4:05 p.m. UTC
  From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>

gprofng/ChangeLog
2024-10-14  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

	* doc/Makefile.am: Use install-data-local to install gprofng examples.
	* doc/Makefile.in: Rebuild.
---
 gprofng/doc/Makefile.am |  5 +++--
 gprofng/doc/Makefile.in | 34 +++++++++++++++++++---------------
 2 files changed, 22 insertions(+), 17 deletions(-)
  

Comments

Vladimir Mezentsev Oct. 17, 2024, 4:18 p.m. UTC | #1
Please ignore.
I sent an old patch.
The fixes are already in the main branch.

-Vladimir


On 10/17/24 09:05, vladimir.mezentsev@oracle.com wrote:
> From: Vladimir Mezentsev<vladimir.mezentsev@oracle.com>
>
> gprofng/ChangeLog
> 2024-10-14  Vladimir Mezentsev<vladimir.mezentsev@oracle.com>
>
> 	* doc/Makefile.am: Use install-data-local to install gprofng examples.
> 	* doc/Makefile.in: Rebuild.
> ---
>   gprofng/doc/Makefile.am |  5 +++--
>   gprofng/doc/Makefile.in | 34 +++++++++++++++++++---------------
>   2 files changed, 22 insertions(+), 17 deletions(-)
  

Patch

diff --git a/gprofng/doc/Makefile.am b/gprofng/doc/Makefile.am
index 83e6006899b..88f94858094 100644
--- a/gprofng/doc/Makefile.am
+++ b/gprofng/doc/Makefile.am
@@ -63,8 +63,9 @@  info: $(man_MANS)
 examples.tar.gz:
 	$(AM_V_at)( tar czf $@ $(srcdir)/../examples )
 
-install-examples:  examples.tar.gz
+.PHONY: install-data-local
+
+install-data-local:  examples.tar.gz
 	$(mkinstalldirs) $(DESTDIR)$(docdir)/gprofng
 	$(INSTALL_DATA) examples.tar.gz $(DESTDIR)$(docdir)/gprofng
 
-install-am: install-examples
diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in
index 98aa1056357..d88232e40a5 100644
--- a/gprofng/doc/Makefile.in
+++ b/gprofng/doc/Makefile.in
@@ -667,6 +667,9 @@  install-exec: install-exec-am
 install-data: install-data-am
 uninstall: uninstall-am
 
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
 installcheck: installcheck-am
 install-strip:
 	if test -z '$(STRIP)'; then \
@@ -708,7 +711,7 @@  html-am: $(HTMLS)
 
 info-am: $(INFO_DEPS)
 
-install-data-am: install-info-am install-man
+install-data-am: install-data-local install-info-am install-man
 
 install-dvi: install-dvi-am
 
@@ -856,17 +859,18 @@  uninstall-man: uninstall-man1
 	clean-libtool cscopelist-am ctags-am dist-info distclean \
 	distclean-generic distclean-libtool distdir dvi dvi-am html \
 	html-am info info-am install install-am install-data \
-	install-data-am install-dvi install-dvi-am install-exec \
-	install-exec-am install-html install-html-am install-info \
-	install-info-am install-man install-man1 install-pdf \
-	install-pdf-am install-ps install-ps-am install-strip \
-	installcheck installcheck-am installdirs maintainer-clean \
-	maintainer-clean-aminfo maintainer-clean-generic \
-	maintainer-clean-vti mostlyclean mostlyclean-aminfo \
-	mostlyclean-generic mostlyclean-libtool mostlyclean-vti pdf \
-	pdf-am ps ps-am tags-am uninstall uninstall-am \
-	uninstall-dvi-am uninstall-html-am uninstall-info-am \
-	uninstall-man uninstall-man1 uninstall-pdf-am uninstall-ps-am
+	install-data-am install-data-local install-dvi install-dvi-am \
+	install-exec install-exec-am install-html install-html-am \
+	install-info install-info-am install-man install-man1 \
+	install-pdf install-pdf-am install-ps install-ps-am \
+	install-strip installcheck installcheck-am installdirs \
+	maintainer-clean maintainer-clean-aminfo \
+	maintainer-clean-generic maintainer-clean-vti mostlyclean \
+	mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool \
+	mostlyclean-vti pdf pdf-am ps ps-am tags-am uninstall \
+	uninstall-am uninstall-dvi-am uninstall-html-am \
+	uninstall-info-am uninstall-man uninstall-man1 \
+	uninstall-pdf-am uninstall-ps-am
 
 .PRECIOUS: Makefile
 
@@ -893,12 +897,12 @@  info: $(man_MANS)
 examples.tar.gz:
 	$(AM_V_at)( tar czf $@ $(srcdir)/../examples )
 
-install-examples:  examples.tar.gz
+.PHONY: install-data-local
+
+install-data-local:  examples.tar.gz
 	$(mkinstalldirs) $(DESTDIR)$(docdir)/gprofng
 	$(INSTALL_DATA) examples.tar.gz $(DESTDIR)$(docdir)/gprofng
 
-install-am: install-examples
-
 # 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: