chiark / gitweb /
poster-tube-lid: Makefile: get set-fa argument right
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Nov 2018 20:24:36 +0000 (20:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Nov 2018 20:24:36 +0000 (20:24 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index 3345eaa..14769bc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -188,7 +188,7 @@ electron-token.stl: electron-token.scad
 poster-tube-lid,CatchPostDistort-fa%.stl: \
        distort-stl poster-tube-lid,CatchPreDistort.auto.stl
                ./distort-stl <poster-tube-lid,CatchPreDistort.auto.stl \
 poster-tube-lid,CatchPostDistort-fa%.stl: \
        distort-stl poster-tube-lid,CatchPreDistort.auto.stl
                ./distort-stl <poster-tube-lid,CatchPreDistort.auto.stl \
-                       set-fa $* project-cylinder 100 >$@.tmp
+                       set-fa $(notdir $*) project-cylinder 100 >$@.tmp
                mv -f $@.tmp $@
 
 %.dxf:         %.eps
                mv -f $@.tmp $@
 
 %.dxf:         %.eps