mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 18:58:23 +03:00
Fix build race condition
Make `command-options` a prerequisite of `hledger-completion.bash`. Currently the build succeeds only because the former takes less time to finish than all the prerequisites of the latter. If you run a `make clean && make -j 4`, the build would fail as they are built in parallel.
This commit is contained in:
parent
13bf6fdcd8
commit
bc66b23520
@ -1,9 +1,9 @@
|
||||
|
||||
.PHONY: command-options clean
|
||||
|
||||
all: command-options hledger-completion.bash
|
||||
all: hledger-completion.bash
|
||||
|
||||
hledger-completion.bash: hledger-completion.bash.m4 commands-list.txt query-filters.txt generic-options.txt
|
||||
hledger-completion.bash: hledger-completion.bash.m4 commands-list.txt query-filters.txt generic-options.txt command-options
|
||||
m4 hledger-completion.bash.m4 > $@
|
||||
|
||||
generic-options.txt:
|
||||
|
Loading…
Reference in New Issue
Block a user