summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-01-17 16:00:39 +0100
committerYorhel <git@yorhel.nl>2016-01-17 16:00:39 +0100
commit026ade950bb9cd901d2b52be2686e7642d27d02f (patch)
tree1a56ea9bb1f6aa9ac6b866e1066ced593f5ae47c /Makefile
parent8e876179272ce79b0023f771be5f3842bf5ef679 (diff)
L10N: Intern all Javascript strings and rename main JS file
This has been mostly automated.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d914d504..620f5a33 100644
--- a/Makefile
+++ b/Makefile
@@ -50,9 +50,9 @@
all: dirs js skins robots data/config.pl util/sql/editfunc.sql
-dirs: static/f/js static/ch static/cv static/sf static/st data/log www www/feeds www/api
+dirs: static/ch static/cv static/sf static/st data/log www www/feeds www/api
-js: static/f/js/en.js
+js: static/f/vndb.js
icons: data/icons/icons.css
@@ -67,10 +67,10 @@ static/ch static/cv static/sf static/st:
mkdir $@;
for i in $$(seq -w 0 1 99); do mkdir "$@/$$i"; done
-static/f/js data/log www www/feeds www/api:
+data/log www www/feeds www/api:
mkdir $@
-static/f/js/en.js: data/js/*.js data/lang.txt util/jsgen.pl data/config.pl data/global.pl
+static/f/vndb.js: data/js/*.js util/jsgen.pl data/config.pl data/global.pl
util/jsgen.pl
data/icons/icons.css: data/icons/*.png data/icons/*/*.png util/spritegen.pl
@@ -87,7 +87,7 @@ chmod: all
chmod -R a-x+rwX static/{ch,cv,sf,st}
chmod-autoupdate: chmod
- chmod a+xrw static/f static/f/js data/icons
+ chmod a+xrw static/f data/icons
chmod -f a-x+rw static/s/*/{style.css,boxbg.png} static/f/icons.png
chmod-tladmin: chmod