doc: Ensure guix-daemon is built before creating guix-daemon.1.

* doc/local.mk ($(srcdir)/%D%/guix-daemon.1): Depend on guix-daemon$(EXEEXT)
instead of its source code.
This commit is contained in:
Marius Bakke 2020-04-24 16:23:46 +02:00
parent 40fd909e3d
commit 7dd05396ef
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -236,7 +236,7 @@ if !CROSS_COMPILING
dist_man1_MANS += $(srcdir)/%D%/guix-daemon.1
$(srcdir)/%D%/guix-daemon.1: nix/nix-daemon/guix-daemon.cc
$(srcdir)/%D%/guix-daemon.1: guix-daemon$(EXEEXT)
-$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1`
endif