Skip to content

Commit c9f7fa5

Browse files
committed
Use just-in-time execution for variables
1 parent b899937 commit c9f7fa5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ SHELL := bash# we want bash behaviour in all shell invocations
44

55
### VARIABLES ###
66
#
7-
export PATH := $(CURDIR):$(CURDIR)/scripts:$(PATH)
8-
OS := $(shell uname -s | tr '[:upper:]' '[:lower:]')
9-
HARDWARE := $(shell uname -m | tr '[:upper:]' '[:lower:]')
7+
export PATH := $(CURDIR):$(CURDIR)/scripts:$(PATH)
8+
9+
OS := $$(uname -s | tr '[:upper:]' '[:lower:]')
10+
HARDWARE := $$(uname -m | tr '[:upper:]' '[:lower:]')
11+
1012
GPG_KEYNAME := $$(awk -F'[<>]' '/<gpg.keyname>/ { print $$3 }' pom.xml)
1113

1214
### TARGETS ###

0 commit comments

Comments
 (0)