From acec3beb0552ecb597d59904552a453d67896e9b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 16 Jun 2015 10:04:35 +0200 Subject: build: Don't build the guix-daemon man page when --disable-daemon. Fixes . Reported by Mark H Weaver . * doc.am (dist_man1_MANS): Conditionalize doc/guix-daemon.1 on BUILD_DAEMON. --- doc.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3