summaryrefslogtreecommitdiff
path: root/scripts/newbitmaps/strings/localized_text/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/newbitmaps/strings/localized_text/Makefile')
-rw-r--r--scripts/newbitmaps/strings/localized_text/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/scripts/newbitmaps/strings/localized_text/Makefile b/scripts/newbitmaps/strings/localized_text/Makefile
index 96d8c8a1..bfbf9336 100644
--- a/scripts/newbitmaps/strings/localized_text/Makefile
+++ b/scripts/newbitmaps/strings/localized_text/Makefile
@@ -6,20 +6,9 @@ LOCALES=ar bg bn ca cs da de el en en_GB es es_419 et fa fi fil fr gu hi hr \
hu id it iw ja kn ko lt lv ml mr ms nl no pl pt_BR pt_PT ro ru sk sl \
sr sv ta te th tr uk vi zh_CN zh_TW
-DIR_TARGETS=$(foreach DIR,$(LOCALES),$(DIR)-dir)
-
-CVT=../text_to_png
-
-default: $(DIR_TARGETS)
-
-%-dir:
- $(CVT) --lan=$(subst -dir,,$@) \
- --font="$$(sed -nre 's/^$(subst -dir,,$@)="(.*)"/\1/p' font.conf)" \
- $(subst -dir,,$@)/*.txt
-
+all:
+ ./build_message $(LOCALES)
clean:
rm -f */*.png
-$(DIR_TARGETS) : FORCE
-
-.PHONY: FORCE
+.PHONY: clean all $(DIR_TARGETS)