aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-02-28 22:59:57 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-03-01 12:34:08 +0100
commita80dc94554e7ec9ea810ce341ac7b5ad3fd66a88 (patch)
treeb981211f99c6f6edf6b93a34f5e0ab01d834b63b
parenteff783a0fe7b9eaaba9eef6539bdf0f62ce9f07e (diff)
Bugfix: Only install manpages for built programs
Github-Pull: #9892 Rebased-From: 8c156b7f70ecd46af2172e052c89510f032c5090
-rw-r--r--doc/man/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index 5252ef4a19..08ff4d6ac1 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -1 +1,13 @@
-dist_man1_MANS=bitcoind.1 bitcoin-qt.1 bitcoin-cli.1 bitcoin-tx.1
+dist_man1_MANS=
+
+if BUILD_BITCOIND
+ dist_man1_MANS+=bitcoind.1
+endif
+
+if ENABLE_QT
+ dist_man1_MANS+=bitcoin-qt.1
+endif
+
+if BUILD_BITCOIN_UTILS
+ dist_man1_MANS+=bitcoin-cli.1 bitcoin-tx.1
+endif