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.
This commit is contained in:
Ludovic Courtès 2015-06-16 10:04:35 +02:00
parent fef3cfaaab
commit acec3beb05

8
doc.am
View file

@ -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