From e5134db9a41757cad3517da3e2cdd1780c098050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Sch=C3=B6ttl?= Date: Thu, 10 Jan 2019 19:10:42 +0100 Subject: [PATCH] Remove unused code --- shell-completion/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/shell-completion/Makefile b/shell-completion/Makefile index 92c4e53a6..322a57204 100644 --- a/shell-completion/Makefile +++ b/shell-completion/Makefile @@ -13,16 +13,10 @@ commands-list.txt: commands.txt paste -sd, $^ | tr -d '\n' > $@ commands: commands.txt - #parallel 'touch {}.command' < commands.txt parallel 'hledger {} -h | ./output-options.sh > options-{}.txt' < commands.txt -# It's possible to call this rule explicitly but it's not invoked automatically. -# Better generate *-options.txt with the 'commands' phony rule. -%-options.txt: %.command - hledger $* -h | ./output-options.sh > $@ - hledger-completion.bash: hledger-completion.bash.m4 commands-list.txt m4 hledger-completion.bash.m4 > $@ clean: - rm -f *.commands *.txt hledger-completion.bash + rm -f *.txt hledger-completion.bash