chiark / gitweb /
Makefile: things autogenerated from .pl
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Nov 2014 16:57:47 +0000 (16:57 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Nov 2014 16:57:47 +0000 (16:57 +0000)
Makefile

index 4afba5d..d667e22 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,9 @@ stls:         $(addsuffix .auto.stl, $(AUTO_TOPLEVELS))
 
 dovecliptest.stl: doveclip.scad $(AUTO_INCS)
 
+%:             %.pl
+               ./$< >$@.tmp && mv -f $@.tmp $@
+
 %.auto.scad: $(PLAY)/toplevel-make Makefile $(PLAY)/toplevel-find
                @echo ' write $@'
                $< $@ >$@.tmp