summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2015-08-06 16:32:35 +0200
committerMichael Schwarz <michi.schwarz@gmail.com>2015-08-07 02:03:33 +0200
commit5a1604ce202077da2823bf63f4400dd9343a17df (patch)
tree874f57c9243f6b70ff5f24cd8dda65d5664714fe /Makefile
parent6bce36b6ede16d28626d40a0b4d60954a35ad48f (diff)
downloadpogojig-5a1604ce202077da2823bf63f4400dd9343a17df.tar.gz
pogojig-5a1604ce202077da2823bf63f4400dd9343a17df.tar.bz2
pogojig-5a1604ce202077da2823bf63f4400dd9343a17df.zip
Use Python script to run Asymptote.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f3e8512..0aedd9e 100644
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ $(SCAD_STL_FILES): %.stl: %.scad $(GLOBAL_DEPS) | $(SCAD_ORDER_DEPS)
# Rule to export an SVG file to an Asymptote file.
$(ASY_PDF_FILES): %.pdf: %.asy $(GLOBAL_DEPS) $(COMPILED_SRC_FILES) $(SVG_ASY_FILES)
- ASYMPTOTE_DIR=$$(dirname $@) $(ASYMPTOTE) -f pdf -o $@ $<
+ $(ASYMPTOTE_CMD) $*.asy $@
# Rule for automaticaly generated OpenSCAD files.
$(GENERATED_FILES): generate_sources.sh $(GLOBAL_DEPS)