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 edd6f7a..57ee94f 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))