summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-24 02:41:46 +0200
committerDirk Engling <erdgeist@erdgeist.org>2026-10-24 02:41:46 +0200
commit131d8b1a79749ca0977a16532c0738fdfc767001 (patch)
tree891c98ba1076a5a4d84580d046e109123605f98d /Makefile
parent168285b4569f862443419a2bffe221e1a8ab8150 (diff)
Replace the shell command in Makefile with backticks to retrieve git version for stats
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13cb220..a6b0b9b 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ FEATURES+=-DWANT_FULLSCRAPE
59#FEATURES+=-D_DEBUG_HTTPERROR 59#FEATURES+=-D_DEBUG_HTTPERROR
60#FEATURES+=-D_DEBUG_RANDOMTORRENTS 60#FEATURES+=-D_DEBUG_RANDOMTORRENTS
61 61
62GIT_VERSION=$(shell sh -c 'command -v git >/dev/null && test -d .git && git rev-parse HEAD || echo _git_or_commit_not_found_') 62GIT_VERSION=`sh -c 'command -v git >/dev/null && test -d .git && git rev-parse HEAD || echo _git_or_commit_not_found_'`
63 63
64OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage 64OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage
65OPTS_production=-O3 65OPTS_production=-O3