From e1cbe256d4c3ce738ffb000c097b76b1c10c1863 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 25 Jan 2023 10:29:33 -1000 Subject: [PATCH] dev: tools: make copy-*: add .FOO suffix, not -FOO like addons --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 22292ea3c..e8152d4c3 100644 --- a/Makefile +++ b/Makefile @@ -430,11 +430,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) $(STACK) exec $(SHAKEDEPS) -- ghci Shake.hs -copy-exe-%: $(call def-help,copy-exe-FOO, copy ~/.local/bin/hledger to hledger-FOO) - cp ~/.local/bin/hledger{,-$*} +copy-exe.%: $(call def-help,copy-exe.FOO, copy ~/.local/bin/hledger to hledger.FOO) + cp ~/.local/bin/hledger{,.$*} -copy-exes-%: $(call def-help,copy-exes-FOO, copy ~/.local/bin/hledger* to hledger*-FOO) - for EXE in $(BINARIES); do cp ~/.local/bin/$$EXE{,-$*}; done +copy-exes.%: $(call def-help,copy-exes.FOO, copy ~/.local/bin/hledger* to hledger*.FOO) + for EXE in $(BINARIES); do cp ~/.local/bin/$$EXE{,.$*}; done install-as-%: $(call def-help,install-as-FOO, like stack install but save executables as bin/hledger*-FOO) @$(STACK) install --local-bin-path bin