aboutsummaryrefslogtreecommitdiff
path: root/doc/man/Makefile.am
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-02-28 22:59:57 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-02-28 23:00:35 +0000
commit8c156b7f70ecd46af2172e052c89510f032c5090 (patch)
tree0b369ea60e270ac62dad23b8918b345f7c748dba /doc/man/Makefile.am
parent09546ca0c939d21e9331df24cffeb96b156eaab2 (diff)
Bugfix: Only install manpages for built programs
Diffstat (limited to 'doc/man/Makefile.am')
-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