X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2FMakefile;h=bfea08b5f92df070fbcc59269b5ec65ed7bb3162;hb=678127044857fb9b89f06faf7a3313bdeb43205c;hp=bd17dad6aaf5e93c0c729891009cfedfa85ca258;hpb=cabba6eeb71f3ca612aa30bb8c7dad9cbc9c0d52;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/Makefile b/qcsrc/Makefile index bd17dad6a..bfea08b5f 100644 --- a/qcsrc/Makefile +++ b/qcsrc/Makefile @@ -14,17 +14,17 @@ ENABLE_DEBUGTRACE ?= 0 BUILD_MOD ?= ifndef ZIP - ifneq ($(shell which zip),) + ifneq ($(shell which zip 2>/dev/null),) ZIP := zip -9 endif - ifneq ($(shell which 7z),) + ifneq ($(shell which 7z 2>/dev/null),) ZIP := 7z a -tzip -mx=9 endif - ifneq ($(shell which 7za),) + ifneq ($(shell which 7za 2>/dev/null),) ZIP := 7za a -tzip -mx=9 endif ifndef ZIP - $(warning "No zip in ($(PATH))") + $(warning "No zip / 7z / 7za in ($(PATH))") ZIP := : zip_not_found endif endif