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 3345eaa53115feeaf18b1dbb98fe7d02babdfdca..14769bc58a0c1c9285ab61c2876f4d43f96019da 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