[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: build: Ensure man pages are not rebuilt by users.
From: |
Ludovic Courtès |
Subject: |
07/09: build: Ensure man pages are not rebuilt by users. |
Date: |
Sun, 19 Jul 2015 20:28:25 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 0af3f404e9f5bd12099c6f63fe5e20e9ed5b029e
Author: Ludovic Courtès <address@hidden>
Date: Sun Jul 19 22:01:20 2015 +0200
build: Ensure man pages are not rebuilt by users.
* doc.am (doc/guix.1): Remove dependency on 'scripts/guix' since every user
would end up rebuilding 'guix.1'. Add dependency on guix/scripts/*.scm.
(doc/guix-daemon.1): For the same reason, depend on 'guix-daemon.cc'
instead
of 'guix-daemon'.
(doc/guix-$(1).1): Similarly, remove dependency on 'scripts/guix' and
depend
on 'guix/scripts/$(1).scm' instead of the .go file.
---
doc.am | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/doc.am b/doc.am
index 3de08e2..02b80ec 100644
--- a/doc.am
+++ b/doc.am
@@ -80,17 +80,19 @@ dvi-local: ps-local
# Manual pages.
-doc/guix.1: scripts/guix
+doc/guix.1: $(SUBCOMMANDS:%=guix/scripts/%.scm)
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix
-doc/guix-daemon.1: guix-daemon
+# Note: Do not depend on 'guix-daemon' since that would trigger a rebuild even
+# for people building from a tarball.
+doc/guix-daemon.1: nix/nix-daemon/guix-daemon.cc
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix-daemon
define subcommand-manual-target
-doc/guix-$(1).1: scripts/guix guix/scripts/$(1).go
+doc/guix-$(1).1: guix/scripts/$(1).scm
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$$@" "guix $(1)"
- branch master updated (5ede5f2 -> 50c7a1e), Ludovic Courtès, 2015/07/19
- 02/09: build: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a tarball., Ludovic Courtès, 2015/07/19
- 01/09: AUTHORS: Remove the hand-made list of people., Ludovic Courtès, 2015/07/19
- 05/09: build: Do not distribute the daemon's 'schema.sql.hh' file., Ludovic Courtès, 2015/07/19
- 03/09: build: Add 'generate-authors.scm' to the distribution., Ludovic Courtès, 2015/07/19
- 07/09: build: Ensure man pages are not rebuilt by users.,
Ludovic Courtès <=
- 06/09: build: Fix instantiation of 'guix-daemon.service' when builddir != srcdir., Ludovic Courtès, 2015/07/19
- 04/09: build: Build coreutils-size-map.eps for the sake of the PS and DVI outputs., Ludovic Courtès, 2015/07/19
- 08/09: nls: Add package files for translation., Ludovic Courtès, 2015/07/19
- 09/09: gnu: Add gnu-c-manual., Ludovic Courtès, 2015/07/19