diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-06-16 10:04:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-16 10:31:12 +0200 |
commit | acec3beb0552ecb597d59904552a453d67896e9b (patch) | |
tree | 28cccdfa292341bf7a5bd0bc6c0bec3b2fa3301f | |
parent | fef3cfaaab972b1f514724f90050aeb38516519b (diff) | |
download | gnu-guix-acec3beb0552ecb597d59904552a453d67896e9b.tar gnu-guix-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.
-rw-r--r-- | doc.am | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |