Paste number 310312: doc/guix.1 fix

Paste number 310312: doc/guix.1 fix
Pasted by: bavier
When:6 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+6NFS
Channel:None
Paste contents:
Raw Source | XML | Display As
--- 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

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.