Commit bd15dd21 authored by Kenton Varda's avatar Kenton Varda

Use MKDIR_P as provided by automake.

parent 29f2b37c
......@@ -377,14 +377,14 @@ test_capnpc_outputs = \
if USE_EXTERNAL_CAPNP
test_capnpc_middleman: $(test_capnpc_inputs)
@mkdir -p src
@$(MKDIR_P) src
$(CAPNP) compile --src-prefix=$(srcdir)/src -o$(CAPNPC_CXX):src -I$(srcdir)/src $^
touch test_capnpc_middleman
else
test_capnpc_middleman: capnp$(EXEEXT) capnpc-c++$(EXEEXT) $(test_capnpc_inputs)
@mkdir -p src
@$(MKDIR_P) src
echo $^ | (read CAPNP CAPNPC_CXX SOURCES && ./$$CAPNP compile --src-prefix=$(srcdir)/src -o./$$CAPNPC_CXX:src -I$(srcdir)/src $$SOURCES)
touch test_capnpc_middleman
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment