From: Alan T. DeKok Date: Tue, 8 Oct 2019 21:28:41 +0000 (-0400) Subject: remove one use of $(shell ...) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52ff070dd8f5c433e427c0204ee20673bdc2453;p=thirdparty%2Ffreeradius-server.git remove one use of $(shell ...) --- diff --git a/Makefile b/Makefile index be3df5caeda..9ebe5de730b 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,6 @@ # Version: $Id$ # -# -# we didn't called ./configure? just define the version. -# -RADIUSD_VERSION_STRING := $(shell cat VERSION) - # # The default rule is "all". # @@ -41,6 +36,13 @@ endif endif endif +# +# 'configure' was not run? Get the version number from the file. +# +ifeq "$(RADIUS_VERSION_STRING)" "" +RADIUSD_VERSION_STRING := $(shell cat VERSION) +endif + MFLAGS += --no-print-directory # The version of GNU Make is too old, don't use it (.FEATURES variable was