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
				
			
		| 
						 | 
				
			
			@ -233,8 +233,7 @@ $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
 | 
			
		|||
# Guile modules have been compiled.  We also need the guix script to exist.
 | 
			
		||||
$(srcdir)/%D%/guix-%.1: guix/scripts/%.scm $(GOBJECTS) scripts/guix
 | 
			
		||||
	-@case '$?' in								\
 | 
			
		||||
	  *$<*) $(AM_V_P) && set -x || echo "  HELP2MAN $@"; \
 | 
			
		||||
	        $(gen_man) --output="$@" "guix $*";; \
 | 
			
		||||
	  *$<*) $(AM_V_HELP2MAN:@%=%)$(gen_man) --output="$@" "guix $*";;	\
 | 
			
		||||
	  *)    : ;;								\
 | 
			
		||||
	esac
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue