maint: Fix help2man for guix subcommands with `make V=2'.
* doc/local.mk ($(srcdir)/%D%/guix-%.1): Use AM_V_HELP2MAN and cater for make's `@' silencing at the start of the command. Change-Id: Id80c48f0d7697167fea64700a7fe140003732d28
This commit is contained in:
		
							parent
							
								
									1dbe492b99
								
							
						
					
					
						commit
						df64d48e6f
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
					@ -232,10 +232,9 @@ $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
 | 
				
			||||||
# prerequisite is solely meant to force these docs to be made only after all
 | 
					# prerequisite is solely meant to force these docs to be made only after all
 | 
				
			||||||
# Guile modules have been compiled.  We also need the guix script to exist.
 | 
					# Guile modules have been compiled.  We also need the guix script to exist.
 | 
				
			||||||
$(srcdir)/%D%/guix-%.1: guix/scripts/%.scm $(GOBJECTS) scripts/guix
 | 
					$(srcdir)/%D%/guix-%.1: guix/scripts/%.scm $(GOBJECTS) scripts/guix
 | 
				
			||||||
	-@case '$?' in \
 | 
						-@case '$?' in								\
 | 
				
			||||||
	  *$<*) $(AM_V_P) && set -x || echo "  HELP2MAN $@"; \
 | 
						  *$<*) $(AM_V_HELP2MAN:@%=%)$(gen_man) --output="$@" "guix $*";;	\
 | 
				
			||||||
	        $(gen_man) --output="$@" "guix $*";; \
 | 
						  *)    : ;;								\
 | 
				
			||||||
	  *)    : ;; \
 | 
					 | 
				
			||||||
	esac
 | 
						esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if BUILD_DAEMON
 | 
					if BUILD_DAEMON
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue