From e2bde4a5291805129a658bf697a2be2c2b01d40c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C4=81nis=20R=C5=ABcis?= Date: Fri, 25 Jun 2010 14:04:13 +0300 Subject: [PATCH] Makefile: support CHECK_DEPENDENCIES with DOWNLOAD_GAMEPACKS semantics --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 5cdeee69..98dcb2f9 100644 --- a/Makefile +++ b/Makefile @@ -79,8 +79,14 @@ LIBS_ZLIB ?= -lz DEPEND_ON_MAKEFILE ?= yes DOWNLOAD_GAMEPACKS ?= yes # set to no to disable gamepack, set to all to even download undistributable gamepacks + +# Support CHECK_DEPENDENCIES with DOWNLOAD_GAMEPACKS semantics +ifneq ($(CHECK_DEPENDENCIES),) +DEPENDENCIES_CHECK = $(patsubst yes,quiet,$(patsubst no,off,$(CHECK_DEPENDENCIES))) +else DEPENDENCIES_CHECK ?= quiet # or: off, verbose +endif # these are used on Win32 only GTKDIR ?= $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKGCONFIG) gtk+-2.0 --variable=prefix $(STDERR_TO_DEVNULL)) -- 2.39.2