;tools: make copy-exe*: name them -SUFF not .SUFF
Breaks my usual convention of hledger-foo being an addon command, but -VERSION is too common (and matches the make target that you type).
This commit is contained in:
		
							parent
							
								
									53238716a7
								
							
						
					
					
						commit
						14c19c398b
					
				
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							| @ -414,11 +414,11 @@ ghci-doctest: $(call def-help,ghci-doctest, start ghci REPL on hledger-lib docte | |||||||
| ghci-shake: $(call def-help,ghci-shake, start ghci REPL on Shake.hs) | ghci-shake: $(call def-help,ghci-shake, start ghci REPL on Shake.hs) | ||||||
| 	stack exec $(SHAKEDEPS) -- ghci Shake.hs | 	stack exec $(SHAKEDEPS) -- ghci Shake.hs | ||||||
| 
 | 
 | ||||||
| copy-exe-%: $(call def-help,copy-exe-VER, copy ~/.local/bin/hledger to hledger.VER) | copy-exe-%: $(call def-help,copy-exe-VER, copy ~/.local/bin/hledger to hledger-VER) | ||||||
| 	cp ~/.local/bin/hledger{,.$*} | 	cp ~/.local/bin/hledger{,-$*} | ||||||
| 
 | 
 | ||||||
| copy-exes-%: $(call def-help,copy-exes-VER, copy ~/.local/bin/hledger* to hledger*.VER) | copy-exes-%: $(call def-help,copy-exes-VER, copy ~/.local/bin/hledger* to hledger*-VER) | ||||||
| 	for EXE in $(BINARIES); do cp ~/.local/bin/$$EXE{,.$*}; done | 	for EXE in $(BINARIES); do cp ~/.local/bin/$$EXE{,-$*}; done | ||||||
| 
 | 
 | ||||||
| # make must be GNU Make 4.3+
 | # make must be GNU Make 4.3+
 | ||||||
| .PHONY: shellcompletions | .PHONY: shellcompletions | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user