mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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.
This commit is contained in:
parent
7887bcbf56
commit
57cd353d87
1 changed files with 3 additions and 3 deletions
6
doc.am
6
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)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue