summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2020-02-10 14:46:07 +0000
committerSimon McVittie <smcv@debian.org>2020-02-10 15:22:06 +0000
commit7ee099e504e91a02ebb6d4f8ea7affe7e8659ec4 (patch)
treea6dc968f4d73603bff006b71576541d4cdc67cf7
parent87b90d97e083fa69f452319fb1a5cb0c5587fa69 (diff)
Don't install remote man pages if remote is disabled
Signed-off-by: Simon McVittie <smcv@debian.org> Forwarded: no Gbp-Pq: Name Don-t-install-remote-man-pages-if-remote-is-disabled.patch
-rw-r--r--doc/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a9b10a7..f61d010 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,9 @@
-man_MANS = gmpc.1 gmpc-remote.1 gmpc-remote-stream.1
+man_MANS = gmpc.1
+
+if HAVE_UNIQUE
+man_MANS += gmpc-remote.1 gmpc-remote-stream.1
+endif
+
EXTRA_DIST = $(man_MANS)
if HAVE_YELP