From 0a4f2b6d536dce398ab28116e24fd4c5f895c448 Mon Sep 17 00:00:00 2001 From: Nuclear Squid Date: Thu, 1 Feb 2024 12:38:40 +0100 Subject: [PATCH] Updated Makefile to use newer kalamine syntaxe. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c8bad60e..585e664f 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ all: @for file in layouts/*.toml; do \ - kalamine $$file --out "layouts/$$(basename $${file%.*}).json"; \ + kalamine make $$file --out "layouts/$$(basename $${file%.*}).json"; \ done @for file in layouts/*.yaml; do \ - kalamine $$file --out "layouts/$$(basename $${file%.*}).json"; \ + kalamine make $$file --out "layouts/$$(basename $${file%.*}).json"; \ done watch: @inotifywait -m layouts -e close_write | while read -r _path _action file; do \ case $$file in \ - *yaml) kalamine "layouts/$$file" --out "layouts/$$(basename "$${file%.*}").json";; \ - *toml) kalamine "layouts/$$file" --out "layouts/$$(basename "$${file%.*}").json";; \ + *yaml) kalamine make "layouts/$$file" --out "layouts/$$(basename "$${file%.*}").json";; \ + *toml) kalamine make "layouts/$$file" --out "layouts/$$(basename "$${file%.*}").json";; \ esac \ done