summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2014-12-10 22:13:34 +0100
committerMichael Schwarz <michi.schwarz@gmail.com>2014-12-10 22:13:34 +0100
commit8e5a1520cd5e901f514c382ad17e77d64727896a (patch)
tree184de9647c4776669f54fabf72e6f1f4bf2253a3 /Makefile
parent785aec3aa6e2deda9acfefa8a9114ea3e7d39f44 (diff)
downloadpogojig-8e5a1520cd5e901f514c382ad17e77d64727896a.tar.gz
pogojig-8e5a1520cd5e901f514c382ad17e77d64727896a.tar.bz2
pogojig-8e5a1520cd5e901f514c382ad17e77d64727896a.zip
Moved DXF export scripts to separate directory.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1b50f45..5a77c48 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
INKSCAPE ?= inkscape
OPENSCAD ?= openscad
+PYTHON ?= python2
# Used by dxf_export/main.sh
export INKSCAPE
@@ -36,7 +37,7 @@ $(foreach i,$(COMPILED_SCAD_FILES),$(eval $(i): $(filter $(dir $(i))%,$(LIBRARY_
# Rule to convert an SVG file to a DXF file.
%.dxf: %.svg
- python2 dxf_export $< $@
+ PYTHONPATH="support:$$PYTHONPATH" $(PYTHON) -m dxf_export $< $@
# Rule to compile an OpenSCAD file to an STL file.
%.stl: %.scad