aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-06-17 21:18:42 -0600
committerbors-servo <metajack+bors@gmail.com>2015-06-17 21:18:42 -0600
commit5dc546b4cf19b3281ee10d2948a75984c62e3763 (patch)
tree23486038ca168d37de957e927010800c87c2a96f
parentfd44db2190ac4f2d8b71d048600b22554ab86f2e (diff)
parenteae411885c754057a8003d1ddf2619e3e7e1dc53 (diff)
downloadservo-5dc546b4cf19b3281ee10d2948a75984c62e3763.tar.gz
servo-5dc546b4cf19b3281ee10d2948a75984c62e3763.zip
Auto merge of #6411 - metajack:fix-script-out-dir, r=glennw
Don't generate pyc files. This eliminates the last bit of script crate generating in-tree files. This now allows cargo target dir sharing to fully work. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6411) <!-- Reviewable:end -->
-rw-r--r--components/script/makefile.cargo4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/makefile.cargo b/components/script/makefile.cargo
index 2093e12f238..9fc604382fc 100644
--- a/components/script/makefile.cargo
+++ b/components/script/makefile.cargo
@@ -28,7 +28,7 @@ $(CACHE_DIR)/.done:
touch $@
$(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS)
- $(PYTHON) $(BINDINGS_SRC)/pythonpath.py \
+ $(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \
-I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \
-D$(OUT_DIR) \
$(BINDINGS_SRC)/GlobalGen.py $(BINDINGS_SRC)/Bindings.conf . \
@@ -37,7 +37,7 @@ $(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS)
$(AUTOGEN_SRC): $(OUT_DIR)/Bindings/%Binding.rs: $(bindinggen_dependencies) \
$(addprefix $(WEBIDLS_SRC)/,%.webidl)
- $(PYTHON) $(BINDINGS_SRC)/pythonpath.py \
+ $(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \
-I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \
-D$(OUT_DIR) \
$(BINDINGS_SRC)/BindingGen.py \