diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-06-28 13:14:15 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-06-28 21:36:26 -0700 |
commit | 9d92d2cc8d59a04103e92dd5ba97d48efc71dca4 (patch) | |
tree | c5486cac3bd6626bf7e9efac3d62933a39a2aae0 /gprofng/gp-display-html | |
parent | 6284f0aa11381a472d7f0ecac6b24b989d2c12db (diff) | |
download | gdb-9d92d2cc8d59a04103e92dd5ba97d48efc71dca4.zip gdb-9d92d2cc8d59a04103e92dd5ba97d48efc71dca4.tar.gz gdb-9d92d2cc8d59a04103e92dd5ba97d48efc71dca4.tar.bz2 |
gprofng: fix build when BUILD_MAN is false
gprofng/ChangeLog
2022-06-28 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR gprofng/29131
* gp-display-html/Makefile.am: Set man_MANS only when BUILD_MAN is true.
* src/Makefile.am: Likewise.
* gp-display-html/Makefile.in: Rebuild.
* src/Makefile.in: Rebuild.
Diffstat (limited to 'gprofng/gp-display-html')
-rw-r--r-- | gprofng/gp-display-html/Makefile.am | 5 | ||||
-rw-r--r-- | gprofng/gp-display-html/Makefile.in | 15 |
2 files changed, 10 insertions, 10 deletions
diff --git a/gprofng/gp-display-html/Makefile.am b/gprofng/gp-display-html/Makefile.am index 7fc27d1..f933911 100644 --- a/gprofng/gp-display-html/Makefile.am +++ b/gprofng/gp-display-html/Makefile.am @@ -19,10 +19,8 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I . -I .. -I ../.. -dist_man_MANS = gp-display-html.1 bin_SCRIPTS = gp-display-html CLEANFILES = $(bin_SCRIPTS) -MAINTAINERCLEANFILES = $(dist_man_MANS) do_subst = sed -e 's/BINUTILS_VERSION/$(VERSION)/' @@ -32,6 +30,9 @@ gp-display-html: gp-display-html.in Makefile if BUILD_MAN +man_MANS = gp-display-html.1 +MAINTAINERCLEANFILES = $(man_MANS) + # Use this if the man pages depend on the version number. # common_mandeps = $(top_srcdir)/../bfd/version.m4 # diff --git a/gprofng/gp-display-html/Makefile.in b/gprofng/gp-display-html/Makefile.in index a222b95..1206a79 100644 --- a/gprofng/gp-display-html/Makefile.in +++ b/gprofng/gp-display-html/Makefile.in @@ -173,10 +173,9 @@ am__can_run_installinfo = \ esac man1dir = $(mandir)/man1 NROFF = nroff -MANS = $(dist_man_MANS) +MANS = $(man_MANS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \ - $(top_srcdir)/../mkinstalldirs +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/../mkinstalldirs DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -326,11 +325,11 @@ zlibdir = @zlibdir@ zlibinc = @zlibinc@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I . -I .. -I ../.. -dist_man_MANS = gp-display-html.1 bin_SCRIPTS = gp-display-html CLEANFILES = $(bin_SCRIPTS) -MAINTAINERCLEANFILES = $(dist_man_MANS) do_subst = sed -e 's/BINUTILS_VERSION/$(VERSION)/' +@BUILD_MAN_TRUE@man_MANS = gp-display-html.1 +@BUILD_MAN_TRUE@MAINTAINERCLEANFILES = $(man_MANS) # Use this if the man pages depend on the version number. # common_mandeps = $(top_srcdir)/../bfd/version.m4 @@ -423,10 +422,10 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -install-man1: $(dist_man_MANS) +install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ - list2='$(dist_man_MANS)'; \ + list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ @@ -461,7 +460,7 @@ uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ - l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ |