summary refs log tree commit diff
path: root/doc.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-16 10:04:35 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-16 10:31:12 +0200
commitacec3beb0552ecb597d59904552a453d67896e9b (patch)
tree28cccdfa292341bf7a5bd0bc6c0bec3b2fa3301f /doc.am
parentfef3cfaaab972b1f514724f90050aeb38516519b (diff)
downloadguix-acec3beb0552ecb597d59904552a453d67896e9b.tar.gz
build: Don't build the guix-daemon man page when --disable-daemon.
Fixes <http://bugs.gnu.org/20824>.
Reported by Mark H Weaver <mhw@netris.org>.

* doc.am (dist_man1_MANS): Conditionalize doc/guix-daemon.1 on BUILD_DAEMON.
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