Remove unused code
This commit is contained in:
parent
bd702642a6
commit
e5134db9a4
@ -13,16 +13,10 @@ commands-list.txt: commands.txt
|
|||||||
paste -sd, $^ | tr -d '\n' > $@
|
paste -sd, $^ | tr -d '\n' > $@
|
||||||
|
|
||||||
commands: commands.txt
|
commands: commands.txt
|
||||||
#parallel 'touch {}.command' < commands.txt
|
|
||||||
parallel 'hledger {} -h | ./output-options.sh > options-{}.txt' < 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
|
hledger-completion.bash: hledger-completion.bash.m4 commands-list.txt
|
||||||
m4 hledger-completion.bash.m4 > $@
|
m4 hledger-completion.bash.m4 > $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.commands *.txt hledger-completion.bash
|
rm -f *.txt hledger-completion.bash
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user