Avoid sporadic race condition due to parallel make
authorJan Krieg <git@jankrieg.anonaddy.com>
Fri, 2 Dec 2022 21:02:37 +0000 (22:02 +0100)
committerWouter Verhelst <w@uter.be>
Tue, 3 Jan 2023 12:41:42 +0000 (14:41 +0200)
commit89c177d612d89de887df2b29de667233cb6496e8
tree58fcf642c162da57aeacaac9f4b103f9c97966f6
parentbc216cf718bd3e788bc7c20799f40f66dad8b5e0
Avoid sporadic race condition due to parallel make

nbdtab_lexer.l includes nbdtab_parser.tab.h, which in turn is
dynamically generated during the build from nbdtab_parser.y.
Specifying nbdtab_parser.tab.h in BUILT_SOURCES avoids a potential
race condition where parallel make can fail if nbdtab_lexer.l
is processed before nbdtab_parser.tab.h has been created.

Fixes: #140
Makefile.am