Remove unused code

This commit is contained in:
Jakob Schöttl 2019-01-10 19:10:42 +01:00 committed by Simon Michael
parent bd702642a6
commit e5134db9a4

View File

@ -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