diff options
author | Eric Bavier <bavier@member.fsf.org> | 2016-03-16 12:53:55 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2016-03-16 18:32:25 -0500 |
commit | 97966e6d65bd3d450f12c7bb41af5f9eafd35a60 (patch) | |
tree | f6c33ce9d37dde571b09c6773f8146bfac8d9b0e /doc.am | |
parent | dfdf5716887a98c08896ed66bcd48455c9912c60 (diff) | |
download | guix-97966e6d65bd3d450f12c7bb41af5f9eafd35a60.tar.gz |
build: Do not remake doc/guix.1.
* doc.am (doc/guix.1): Do not depend on $(sub_commands_mans) which will always appear out-of-date.
Diffstat (limited to 'doc.am')
-rw-r--r-- | doc.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc.am b/doc.am index 127029c1ca..a1eabadfff 100644 --- a/doc.am +++ b/doc.am @@ -129,8 +129,12 @@ 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: $(sub_commands_mans) - -$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1` +doc/guix.1: scripts/guix.in $(GOBJECTS) + -@case '$?' in \ + *$<*) $(AM_V_P) && set -x || echo " HELP2MAN $@"; \ + $(gen_man) --output="$@" "guix";; \ + *) : ;; \ + esac # 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 |