mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 04:56:00 +01:00
Run version check if config.mk changed
This commit is contained in:
parent
3c83a50cff
commit
6cd8f2d3f6
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -43,7 +43,7 @@ DOBJECTS = $(patsubst %.c, %.do, $(SOURCE))
|
|||
all: options ${PROJECT} po build-manpages
|
||||
|
||||
# pkg-config based version checks
|
||||
.version-checks/%:
|
||||
.version-checks/%: config.mk
|
||||
$(QUIET)test $($(*)_VERSION_CHECK) -eq 0 || \
|
||||
pkg-config --atleast-version $($(*)_MIN_VERSION) $($(*)_PKG_CONFIG_NAME) || ( \
|
||||
echo "The minium required version of $(*) is $($(*)_MIN_VERSION)" && \
|
||||
|
|
Loading…
Reference in a new issue