From 4c8d58b646ac62e67fc34c12f8cad51e7512bee3 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 5 Apr 2024 15:00:27 -0400 Subject: add en_CAT makefile and use ucfirst/ucwords --- src/web/lang/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/web/lang/Makefile (limited to 'src/web/lang/Makefile') diff --git a/src/web/lang/Makefile b/src/web/lang/Makefile new file mode 100644 index 0000000..fd4ca9c --- /dev/null +++ b/src/web/lang/Makefile @@ -0,0 +1,19 @@ +# +# en_CAT generator from en_US +# uwuify and awk required +# + +LANG_SRC = $(shell find en_US -type f) +LANG_OBJ = $(patsubst en_US/%,en_CAT/%,$(LANG_SRC)) + +.PHONY: all + +all: $(LANG_OBJ) + +$(LANG_OBJ): en_CAT/% : en_US/% + @printf "\033[35m UWU \033[0m%s\n" $< + @mkdir -p $(@D) + @./_bin/transpile.sh $< $@ + +clean: + @rm -fr "en_CAT" -- cgit v1.2.3-freya