specific job for checkversions

This commit is contained in:
Thomas Bernard
2020-02-08 00:28:14 +01:00
parent cc8257817f
commit d2d409b857
2 changed files with 12 additions and 4 deletions

9
3rdparty/Makefile vendored
View File

@@ -650,7 +650,10 @@ checkversion-%:
@echo "checking $* version"
$(eval PKG := $(shell echo $* | tr a-z A-Z))
$(eval LATEST := $(LATEST$(PKG)VER))
@if [ -z "$(LATEST)" ] ; then echo "failed to retrieve latest version of $*" ; \
elif [ "$($(PKG)VER)" != "$(LATEST)" ] ; \
then echo "$* $($(PKG)VER) is outdated, latest version is $(LATEST)" ; \
@if [ -z "$(LATEST)" ] ; then \
echo "failed to retrieve latest version of $*" ; \
touch check-version-failed ; \
elif [ "$($(PKG)VER)" != "$(LATEST)" ] ; then \
echo "$* $($(PKG)VER) is outdated, latest version is $(LATEST)" ; \
touch check-version-failed ; \
fi