summaryrefslogtreecommitdiff
path: root/unrpyc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unrpyc/Makefile')
-rw-r--r--unrpyc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/unrpyc/Makefile b/unrpyc/Makefile
index 826f1e3..829d2b9 100644
--- a/unrpyc/Makefile
+++ b/unrpyc/Makefile
@@ -13,6 +13,10 @@ script.json: $(patsubst %.rpyc,%.json,$(wildcard script-*.rpyc))
%.json: %.json.o
node fix.js $< $@
+ui-strings.json.o: ui-strings.rpyc *.py
+ python unrpyc.py --clobber $< $@
+ sed -i -e 's/ \["init_language", "en", \],//;s/^\]}$$/}/' $@
+
%.json.o: %.rpyc *.py
python unrpyc.py --clobber $< $@