chiark / gitweb /
knifeblock: fix Makefile for recent GNU make
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Dec 2014 22:49:20 +0000 (22:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Dec 2014 22:49:20 +0000 (22:49 +0000)
Makefile

index b808d74..bee41a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ KNIFEBLOCK_TEMPLATE_FILES=\
 knifeblock-knives-templates knifeblock.stl: $(KNIFEBLOCK_TEMPLATE_FILES)
 
 knifeblock-knives-t%.dxf: knifeblock-knives-filter knifeblock-knives-trace.fig
-               ./$< $* <$(filter %.fig, $^) >$@.tmp.fig
+               ./$< $(notdir $*) <$(filter %.fig, $^) >$@.tmp.fig
                fig2dev -D -30 -L eps <$@.tmp.fig >$@.tmp.eps
                pstoedit -dt -f "dxf: -polyaslines -mm" $@.tmp.eps $@