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.
This commit is contained in:
Eric Bavier 2016-03-16 12:53:55 -05:00
parent dfdf571688
commit 97966e6d65
1 changed files with 6 additions and 2 deletions

8
doc.am
View File

@ -129,8 +129,12 @@ HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME)
# Note: Do not depend on 'scripts/guix' since that would trigger a rebuild # Note: Do not depend on 'scripts/guix' since that would trigger a rebuild
# even for people building from a tarball. # even for people building from a tarball.
doc/guix.1: $(sub_commands_mans) doc/guix.1: scripts/guix.in $(GOBJECTS)
-$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1` -@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 # 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 # only after all Guile modules have been compiled. The 'case' ensures the man