chiark / gitweb /
Makefile: Always rerun commitid.scad.pl
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 23:21:59 +0000 (23:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 23:21:59 +0000 (23:21 +0000)
Makefile

index edd6f7a04a6f7d66a325c0ffc4a599a41961bd66..57ee94ffd06e30b665490359bf1723725f367377 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,8 @@ AUTO_INCS = funcs.scad
 
 default:       autoincs scads
 
+$(shell set -xe; ./commitid.scad.pl >commitid.scad.tmp; mv -f commitid.scad.tmp commitid.scad )
+
 autoincs:      $(AUTO_INCS)
 scads:         $(addsuffix .auto.scad, $(AUTO_TOPLEVELS))
 stls:          $(addsuffix .auto.stl, $(AUTO_TOPLEVELS))