mirror of
https://github.com/servo/servo.git
synced 2025-07-16 03:43:38 +01:00
8 lines
292 B
Text
8 lines
292 B
Text
MAKO_ZIP = Mako-0.9.1.zip
|
|
PYTHON = $(shell which python2.7 2>/dev/null || echo python)
|
|
|
|
all: properties/mod.rs
|
|
|
|
properties/mod.rs: properties/mod.rs.mako
|
|
PYTHONPATH=$(MAKO_ZIP) $(PYTHON) -c "from mako.template import Template; print(Template(filename='$<').render())" > $@.tmp
|
|
mv $@.tmp $@
|