aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-06-08 11:42:15 -0700
committerGravatar Tom Willemse2026-06-10 16:55:34 -0700
commitb499537367327ff4cbf15f40084961083f374758 (patch)
treea5f094756da4b536c47bc738f979918b60153581
parentdfbf2feb9abf8a4140b44a81b8f2470a64f27bc1 (diff)
downloadnew-dotfiles-b499537367327ff4cbf15f40084961083f374758.tar.gz
new-dotfiles-b499537367327ff4cbf15f40084961083f374758.zip
GNUmakefile: Use printf instead of ‘echo -e’
MacOS' echo doesn't support the ‘-e’ switch, but printf should work everywhere.
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index cd111a4..143afe4 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,7 +8,7 @@ SCHEME_IMPLEMENTATION = guile
.PRECIOUS: %.el
define tangle =
- @echo -e "\e[35mOBT\e[0m" $<
+ @printf "\e[35mOBT\e[0m %s\n" $<
@$(EMACS) -quick -batch \
-eval "(package-initialize)" \
-load ob-tangle \
@@ -131,7 +131,7 @@ nyxt: nyxt/.config/nyxt/init.lisp
$(call tangle,emacs-lisp)
%.elc: %.el
- @echo -e "\e[36mELC\e[0m" $<
+ @printf "\e[36mELC\e[0m %s\n" $<
$(EMACS) -q -batch -f package-initialize -f batch-byte-compile $<
%: %.org