diff --git a/py/py.mk b/py/py.mk index a821b7c08b..097516952c 100644 --- a/py/py.mk +++ b/py/py.mk @@ -123,7 +123,7 @@ PY_O = $(addprefix $(PY_BUILD)/, $(PY_O_BASENAME)) FORCE: .PHONY: FORCE -$(HEADER_BUILD)/py-version.h: FORCE +$(HEADER_BUILD)/py-version.h: FORCE | $(HEADER_BUILD) $(Q)$(PY_SRC)/py-version.sh > $@.tmp $(Q)if [ -f "$@" ] && cmp -s $@ $@.tmp; then rm $@.tmp; else echo "Generating $@"; mv $@.tmp $@; fi