[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: build: Build man pages after the corresponding code.
From: |
Ludovic Courtès |
Subject: |
02/02: build: Build man pages after the corresponding code. |
Date: |
Wed, 10 Jun 2015 19:58:24 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 57cd353d87d6e9e6e882327be70b4d7b5ce863ba
Author: Ludovic Courtès <address@hidden>
Date: Wed Jun 10 18:12:18 2015 +0200
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 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc.am b/doc.am
index 708b308..14343ce 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)"