py: Add order-only dependency for py-version.h

Else the directory might not exist.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
This commit is contained in:
Sven Wegener 2014-11-05 21:02:43 +01:00 committed by Damien George
parent 0e0ae97975
commit bfb18a714b
1 changed files with 1 additions and 1 deletions

View File

@ -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