Revisió 7f54166f
Afegit per Simó Albert i Beltran fa més de 11 anys
Makefile | ||
---|---|---|
@exit 1
|
||
endef
|
||
|
||
define get_git_local_revision
|
||
git rev-parse origin/$1
|
||
endef
|
||
|
||
define get_git_remote_revision
|
||
git ls-remote origin $1 | awk 'NR==1{print $$1}'
|
||
endef
|
||
|
||
all: build
|
||
|
||
.checkout_qmp:
|
||
... | ... | |
$(if $(TARGET),$(call build_src))
|
||
$(call post_build)
|
||
|
||
is_up_to_date:
|
||
cd $(BUILD_DIR)/qmp && test "$$($(call get_git_local_revision,$(QMP_GIT_BRANCH)))" == "$$($(call get_git_remote_revision,$(QMP_GIT_BRANCH)))"
|
També disponible a: Unified diff
Add is_up_to_date rule in Makefile to check if qmp repository is up to date and to be used by nightlycompile.sh. Closes #238