summaryrefslogtreecommitdiff
path: root/doc.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-10 18:12:18 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-10 21:58:16 +0200
commit57cd353d87d6e9e6e882327be70b4d7b5ce863ba (patch)
tree2bbb2bca999bd0f47aabcfbf9186a61465c02291 /doc.am
parent7887bcbf56f8ef154ba987e67e457c8695254fa5 (diff)
downloadpatches-57cd353d87d6e9e6e882327be70b4d7b5ce863ba.tar
patches-57cd353d87d6e9e6e882327be70b4d7b5ce863ba.tar.gz
build: Build man pages after the corresponding code.
* doc.am (doc/guix.1): Remove extraneous $(top_builddir)/. (doc/guix-daemon.1): Fix dependency. (doc/guix-$(1).1): Remove extraneous $(top_builddir)/. Depend on the .go files instead of the .scm file. Add dependency on scripts/guix.
Diffstat (limited to 'doc.am')
-rw-r--r--doc.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc.am b/doc.am
index 708b3087fc..14343ceacb 100644
--- a/doc.am
+++ b/doc.am
@@ -69,17 +69,17 @@ ps-local: $(top_srcdir)/doc/images/bootstrap-graph.eps
# Manual pages.
-doc/guix.1: $(top_builddir)/scripts/guix
+doc/guix.1: scripts/guix
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix
-doc/guix-daemon.1: $(top_builddir)/scripts/guix
+doc/guix-daemon.1: guix-daemon
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix-daemon
define subcommand-manual-target
-doc/guix-$(1).1: $(top_srcdir)/guix/scripts/$(1).scm
+doc/guix-$(1).1: scripts/guix guix/scripts/$(1).go
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$$@" "guix $(1)"