aboutsummaryrefslogtreecommitdiff
path: root/gprofng/Makefile.am
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2022-09-16 13:19:38 -0700
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2022-09-19 11:34:06 -0700
commite1d23dca8a4784b2574722025a2defd7f0e5418e (patch)
tree0a8635170065be1a8acd11c243e95bdb2a032180 /gprofng/Makefile.am
parent77b7377bc4c8d404de00c5a360e64daee75acf80 (diff)
downloadgdb-e1d23dca8a4784b2574722025a2defd7f0e5418e.zip
gdb-e1d23dca8a4784b2574722025a2defd7f0e5418e.tar.gz
gdb-e1d23dca8a4784b2574722025a2defd7f0e5418e.tar.bz2
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.
Diffstat (limited to 'gprofng/Makefile.am')
-rw-r--r--gprofng/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/gprofng/Makefile.am b/gprofng/Makefile.am
index 2fcd695..96f8015 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