From: Ian Jackson Date: Sat, 6 Feb 2016 12:57:49 +0000 (+0000) Subject: Makefile: do not needlessly update commitid.scad X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=629bc5faaf5ce7956de11d6d9ad8f157531105a6;p=reprap-play.git Makefile: do not needlessly update commitid.scad --- diff --git a/Makefile b/Makefile index 57ee94f..9e879ab 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ AUTO_INCS = funcs.scad default: autoincs scads -$(shell set -xe; ./commitid.scad.pl >commitid.scad.tmp; mv -f commitid.scad.tmp commitid.scad ) +$(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))