commit: ea927bfe866822c8f257e9403bdffd69fd3dc88e Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Jul 14 23:05:57 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Jul 14 23:07:54 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=ea927bfe
Makefile: Use shell function Fixes: d0e76cd8e8dd ("Replace backticks") Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 753400b..da579aa 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -#PACKAGE_VERSION = $(/bin/fgrep GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/") -PACKAGE_VERSION = $(git describe --tags |sed 's,^v,,g') +#PACKAGE_VERSION = $(shell /bin/fgrep GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/") +PACKAGE_VERSION = $(shell git describe --tags |sed 's,^v,,g') distdir = genkernel-$(PACKAGE_VERSION) MANPAGE = genkernel.8 # Add off-Git/generated files here that need to be shipped with releases