~ruther/guix-local

97966e6d65bd3d450f12c7bb41af5f9eafd35a60 — Eric Bavier 10 years ago dfdf571
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.
1 files changed, 6 insertions(+), 2 deletions(-)

M doc.am
M doc.am => doc.am +6 -2
@@ 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