From 57cd353d87d6e9e6e882327be70b4d7b5ce863ba Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 10 Jun 2015 18:12:18 +0200 Subject: 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. --- doc.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc.am') 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)" -- cgit v1.2.3