aboutsummaryrefslogtreecommitdiff
path: root/doc.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc.am')
-rw-r--r--doc.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc.am b/doc.am
index de232a87a4..d4ca0fc4a5 100644
--- a/doc.am
+++ b/doc.am
@@ -106,5 +106,11 @@ $(eval $(foreach subcommand,$(SUBCOMMANDS), \
dist_man1_MANS = \
doc/guix.1 \
- doc/guix-daemon.1 \
$(SUBCOMMANDS:%=doc/guix-%.1)
+
+if BUILD_DAEMON
+
+dist_man1_MANS += \
+ doc/guix-daemon.1
+
+endif