aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-03-19 15:41:04 +0100
committerMathieu Lirzin <mthl@gnu.org>2016-03-20 23:47:59 +0100
commit92d40a68f4b14f2527785ffc1ae2e5bf7bb2f200 (patch)
tree8a07e9799ee8185cd0ec19e91c4c8a8a2a4697b3
parentc03514596809c10ed025d669212d74b5c905c71a (diff)
downloadguix-92d40a68f4b14f2527785ffc1ae2e5bf7bb2f200.tar.gz
guix-92d40a68f4b14f2527785ffc1ae2e5bf7bb2f200.zip
Revert "build: Do not remake doc/guix.1."
This reverts commit 97966e6d65bd3d450f12c7bb41af5f9eafd35a60.
-rw-r--r--doc.am8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc.am b/doc.am
index a1eabadfff..127029c1ca 100644
--- a/doc.am
+++ b/doc.am
@@ -129,12 +129,8 @@ HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME)
# Note: Do not depend on 'scripts/guix' since that would trigger a rebuild
# even for people building from a tarball.
-doc/guix.1: scripts/guix.in $(GOBJECTS)
- -@case '$?' in \
- *$<*) $(AM_V_P) && set -x || echo " HELP2MAN $@"; \
- $(gen_man) --output="$@" "guix";; \
- *) : ;; \
- esac
+doc/guix.1: $(sub_commands_mans)
+ -$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1`
# Note: The dependency on $(GOBJECTS) is meant to force these docs to be made
# only after all Guile modules have been compiled. The 'case' ensures the man