public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gprofng: build documentation only if BUILD_MAN is true
@ 2022-09-19 19:01 Vladimir Mezentsev
0 siblings, 0 replies; only message in thread
From: Vladimir Mezentsev @ 2022-09-19 19:01 UTC (permalink / raw)
To: bfd-cvs, gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e1d23dca8a4784b2574722025a2defd7f0e5418e
commit e1d23dca8a4784b2574722025a2defd7f0e5418e
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date: Fri Sep 16 13:19:38 2022 -0700
gprofng: build documentation only if BUILD_MAN is true
gprofng/ChangeLog
2022-09-16 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR gprofng/29476
* gprofng/Makefile.am: Build documentation only if BUILD_MAN is true
* gprofng/Makefile.in: Rebuild.
* gprofng/configure: Rebuild.
Diff:
---
gprofng/Makefile.am | 7 +++++--
gprofng/Makefile.in | 5 +++--
gprofng/configure | 1 -
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/gprofng/Makefile.am b/gprofng/Makefile.am
index 2fcd695140c..96f80157008 100644
--- a/gprofng/Makefile.am
+++ b/gprofng/Makefile.am
@@ -23,11 +23,14 @@ AUTOMAKE_OPTIONS = dejagnu foreign
if BUILD_COLLECTOR
COLLECTOR_SUBDIRS = libcollector
endif
+if BUILD_MAN
+ DOC_SUBDIR = doc
+endif
if BUILD_SRC
- SRC_SUBDIRS = src gp-display-html doc
+ SRC_SUBDIRS = src gp-display-html $(DOC_SUBDIR)
endif
SUBDIRS = $(COLLECTOR_SUBDIRS) $(SRC_SUBDIRS)
-DIST_SUBDIRS = libcollector src gp-display-html doc
+DIST_SUBDIRS = libcollector src gp-display-html $(DOC_SUBDIR)
# Setup the testing framework, if you have one
EXPECT = expect
diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in
index fd5279b4df1..d660f99233f 100644
--- a/gprofng/Makefile.in
+++ b/gprofng/Makefile.in
@@ -381,9 +381,10 @@ zlibinc = @zlibinc@
ACLOCAL_AMFLAGS = -I . -I ..
AUTOMAKE_OPTIONS = dejagnu foreign
@BUILD_COLLECTOR_TRUE@COLLECTOR_SUBDIRS = libcollector
-@BUILD_SRC_TRUE@SRC_SUBDIRS = src gp-display-html doc
+@BUILD_MAN_TRUE@DOC_SUBDIR = doc
+@BUILD_SRC_TRUE@SRC_SUBDIRS = src gp-display-html $(DOC_SUBDIR)
SUBDIRS = $(COLLECTOR_SUBDIRS) $(SRC_SUBDIRS)
-DIST_SUBDIRS = libcollector src gp-display-html doc
+DIST_SUBDIRS = libcollector src gp-display-html $(DOC_SUBDIR)
RUNTEST = runtest
RUNTESTFLAGS =
BASEDIR = $(srcdir)/..
diff --git a/gprofng/configure b/gprofng/configure
index 301ac10050b..c90e36cb1cf 100755
--- a/gprofng/configure
+++ b/gprofng/configure
@@ -16628,7 +16628,6 @@ LIBC=gnu
EOF
cc_set_libc=`$CC -E "dummy.c" 2>/dev/null | grep '^LIBC=' | sed 's, ,,g'`
eval "$cc_set_libc"
-echo "cc_set_libc=$cc_set_libc;"
if test "$LIBC" = musl; then
$as_echo "#define __MUSL_LIBC 1" >>confdefs.h
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-19 19:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 19:01 [binutils-gdb] gprofng: build documentation only if BUILD_MAN is true 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).