]> granicus.if.org Git - ejabberd/commitdiff
make deps/.built depend on deps/.got
authorChristopher A. Stelma <stelminator@gmail.com>
Mon, 15 Jul 2013 17:46:41 +0000 (10:46 -0700)
committerChristopher A. Stelma <cstelma@tagged.com>
Mon, 15 Jul 2013 17:52:34 +0000 (10:52 -0700)
fixes race condition when running make with simultaneous jobs

Makefile.in

index 6b3b32b61486d69a21f978499e0ea8e5f1ad71aa..06788a17669171d53f8c103083145395f96599b2 100644 (file)
@@ -77,7 +77,7 @@ deps/.got:
        rm -rf deps/.built
        $(REBAR) get-deps && :> deps/.got
 
-deps/.built:
+deps/.built: deps/.got
        $(REBAR) compile && :> deps/.built
 
 src: deps/.built