Browse Source

Makefile: fix config.h rebuilds in parallel.

Occasionally make seems to rebuild this in parallel, so make sure to
never have a partially complete one.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 9 years ago
parent
commit
5ba7692254
  1. 2
      Makefile

2
Makefile

@ -243,7 +243,7 @@ lightning.pb-c.c lightning.pb-c.h: lightning.proto
$(TEST_PROGRAMS): % : %.o $(BITCOIN_OBJS) $(CCAN_OBJS) version.o libsecp256k1.a
ccan/config.h: ccan/tools/configurator/configurator
$< > $@
if $< > $@.new; then mv $@.new $@; else rm $@.new; exit 1; fi
doc/deployable-lightning.pdf: doc/deployable-lightning.lyx doc/bitcoin.bib
lyx -E pdf $@ $<

Loading…
Cancel
Save