chiark / gitweb /
commitid-layering-test: use Commitid_BestCount_M
[reprap-play.git] / Makefile
index edd6f7a04a6f7d66a325c0ffc4a599a41961bd66..9e879aba64a359ed74896b1d24093095454f52a7 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; cmp commitid.scad.tmp commitid.scad || mv -f commitid.scad.tmp commitid.scad )
+
 autoincs:      $(AUTO_INCS)
 scads:         $(addsuffix .auto.scad, $(AUTO_TOPLEVELS))
 stls:          $(addsuffix .auto.stl, $(AUTO_TOPLEVELS))