diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-10-09 12:26:54 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-10-10 10:14:01 -0700 |
commit | 61621e018c847e578b4ce2eae2f6f2899e0c3a1a (patch) | |
tree | 47c37ce0c95bcbd4ac8f8cd3878a041189ec9c3e /gprofng | |
parent | 98bcde5e268ea7cd54186c5f2c27c65103218fc3 (diff) | |
download | gdb-61621e018c847e578b4ce2eae2f6f2899e0c3a1a.zip gdb-61621e018c847e578b4ce2eae2f6f2899e0c3a1a.tar.gz gdb-61621e018c847e578b4ce2eae2f6f2899e0c3a1a.tar.bz2 |
gprofng: install examples to $(docdir)/gprofng
gprofng/ChangeLog
2024-10-09 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
* doc/Makefile.am: Install gprofng examples.
* doc/Makefile.in: Rebuild.
Diffstat (limited to 'gprofng')
-rw-r--r-- | gprofng/doc/Makefile.am | 10 | ||||
-rw-r--r-- | gprofng/doc/Makefile.in | 12 |
2 files changed, 19 insertions, 3 deletions
diff --git a/gprofng/doc/Makefile.am b/gprofng/doc/Makefile.am index 7c88e14..fcd0796 100644 --- a/gprofng/doc/Makefile.am +++ b/gprofng/doc/Makefile.am @@ -59,3 +59,13 @@ MAINTAINERCLEANFILES = gprofng.info $(man_MANS) EXTRA_DIST = $(man_MANS) version.texi info: $(man_MANS) + +examples.tar.gz: + $(AM_V_at)( tar czf $@ $(srcdir)/../examples ) + +install-examples: examples.tar.gz + $(mkinstalldirs) $(docdir)/gprofng + $(INSTALL_DATA) examples.tar.gz $(docdir)/gprofng + +install-am: install-examples + diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in index 9b9f81c..3e62543 100644 --- a/gprofng/doc/Makefile.in +++ b/gprofng/doc/Makefile.in @@ -667,9 +667,6 @@ 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 \ @@ -893,6 +890,15 @@ gprofng-display-text.1: $(srcdir)/gprofng-display-text.texi info: $(man_MANS) +examples.tar.gz: + $(AM_V_at)( tar czf $@ $(srcdir)/../examples ) + +install-examples: examples.tar.gz + $(mkinstalldirs) $(docdir)/gprofng + $(INSTALL_DATA) examples.tar.gz $(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: |