mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
;dev: make: copy-exe*: use hyphen again, less annoying
This commit is contained in:
parent
2e58bea809
commit
fb56fff93a
8
Makefile
8
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)
|
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.FOO, copy ~/.local/bin/hledger to hledger.FOO)
|
copy-exe-%: $(call def-help,copy-exe.FOO, copy ~/.local/bin/hledger to hledger-FOO)
|
||||||
cp ~/.local/bin/hledger{,.$*}
|
cp ~/.local/bin/hledger{,-$*}
|
||||||
|
|
||||||
copy-exes.%: $(call def-help,copy-exes.FOO, copy ~/.local/bin/hledger* to hledger*.FOO)
|
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
|
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)
|
install-as-%: $(call def-help,install-as-FOO, like stack install but save executables as bin/hledger*-FOO)
|
||||||
@$(STACK) install --local-bin-path bin
|
@$(STACK) install --local-bin-path bin
|
||||||
|
Loading…
Reference in New Issue
Block a user