~ruther/guix-local

acec3beb0552ecb597d59904552a453d67896e9b — Ludovic Courtès 10 years ago fef3cfa
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.
1 files changed, 7 insertions(+), 1 deletions(-)

M doc.am
M doc.am => doc.am +7 -1
@@ 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