aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2025-11-03 16:59:02 +0100
committerGravatar Christian Hesse <mail@eworm.de>2025-11-03 16:59:02 +0100
commite941fb07fd0367ace9ef511fd5bda0e92f81c26a (patch)
tree4221b2ee54bf83ca211f66e2cb87549aebf06190
parent52440bdd3a6e0b1db60dc0f7a79dc51ef8356426 (diff)
downloadpacredir-main.tar.gz
pacredir-main.tar.zst
Makefile: always use parenthesis for variablesHEADnextmain
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4afd602..17785f7 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ config.h: config.def.h
$(CP) $< $@
version.h: $(wildcard .git/HEAD .git/index .git/refs/tags/*) Makefile
- printf '#ifndef VERSION_H\n#define VERSION_H\n#define VERSION\t"%s"\n#define ARCH\t"%s"\n#define ID\t"%s"\n#endif\n' "${VERSION}" "$(ARCH)" "$(ID)" > $@
+ printf '#ifndef VERSION_H\n#define VERSION_H\n#define VERSION\t"%s"\n#define ARCH\t"%s"\n#define ID\t"%s"\n#endif\n' "$(VERSION)" "$(ARCH)" "$(ID)" > $@
favicon.png: logo.svg Makefile
resvg --width=32 --height=32 $< -c | oxipng - > $@