They are faster since they are evaluated only once, and in this case
that's all we need.
This commit is contained in:
Marek Habersack 2016-06-27 21:17:34 +02:00
Родитель 38b7a730db
Коммит 16ae64e1de
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1,4 +1,4 @@
OS = $(shell uname)
OS := $(shell uname)
V ?= 0
CONFIGURATION = Debug
MSBUILD = xbuild /p:Configuration=$(CONFIGURATION) $(MSBUILD_ARGS)
@ -29,8 +29,8 @@ prepare::
ifeq ($(OS),Linux)
UBUNTU_DEPS = libzip4 curl
LINUX_DISTRO = $(shell lsb_release -i -s || true)
LINUX_DISTRO_RELEASE = $(shell lsb_release -r -s || true)
LINUX_DISTRO := $(shell lsb_release -i -s || true)
LINUX_DISTRO_RELEASE := $(shell lsb_release -r -s || true)
prepare:: linux-prepare-$(LINUX_DISTRO) linux-prepare-$(LINUX_DISTRO)-$(LINUX_DISTRO_RELEASE)