Makefile.w32: using $(GREP) inside VERSION, also evaluate the version only once

This commit is contained in:
Sebastian Godelet 2014-12-13 19:39:26 +08:00
parent 927814d3c2
commit 2d5a194bb0

View file

@ -1,4 +1,5 @@
VERSION=$(shell grep -Po "(?<=\[)([0-9.]+.[0-9]+.[0-9]+)(?=\])" configure.ac)
GREP=grep
VERSION:=$(shell $(GREP) -Po "(?<=\[)([0-9.]+.[0-9]+.[0-9]+)(?=\])" configure.ac)
CC=gcc