Unverified Commit 269884a1 authored by Adam Cozzette's avatar Adam Cozzette Committed by GitHub

Merge pull request #4040 from bazurbat/3.5.x

Create containing directory before generating well_known_types_embed.cc
parents d971cbfc edcf15e7
...@@ -525,6 +525,7 @@ js_well_known_types_sources = \ ...@@ -525,6 +525,7 @@ js_well_known_types_sources = \
google/protobuf/compiler/js/well_known_types/timestamp.js google/protobuf/compiler/js/well_known_types/timestamp.js
# We have to cd to $(srcdir) so that out-of-tree builds work properly. # We have to cd to $(srcdir) so that out-of-tree builds work properly.
google/protobuf/compiler/js/well_known_types_embed.cc: js_embed$(EXEEXT) $(js_well_known_types_sources) google/protobuf/compiler/js/well_known_types_embed.cc: js_embed$(EXEEXT) $(js_well_known_types_sources)
mkdir -p `dirname $@` && \
oldpwd=`pwd` && cd $(srcdir) && \ oldpwd=`pwd` && cd $(srcdir) && \
$$oldpwd/js_embed$(EXEEXT) $(js_well_known_types_sources) > $$oldpwd/$@ $$oldpwd/js_embed$(EXEEXT) $(js_well_known_types_sources) > $$oldpwd/$@
......
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