summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-16 03:21:20 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-16 03:21:20 -0300
commit64cea4d20f1762ef7417adb8cbe403c825bfd5a1 (patch)
tree818497fd5bc21613a1206da22a0c07168956544b /Makefile
parent31f3ef785f673179617114e2eac9545589a36c64 (diff)
downloadtools-64cea4d20f1762ef7417adb8cbe403c825bfd5a1.tar.gz
tools-64cea4d20f1762ef7417adb8cbe403c825bfd5a1.tar.bz2
tools-64cea4d20f1762ef7417adb8cbe403c825bfd5a1.tar.xz
tools-64cea4d20f1762ef7417adb8cbe403c825bfd5a1.zip
Update Makefile (untested)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4c3b264..b621ba3 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ all:
@echo "news - propagate web information"
@echo "translation - fetches Transifex translations for server, and updates both."
@echo "client - generate weapons.xml"
+ @echo "full - make contrib + wiki + translation + client + update + news"
contrib:
cd contrib_xsl ; make
@@ -35,15 +36,21 @@ maps:
update:
@cd ../web ; echo "Checking for web/ folder..." # check if web directory exists
cd update ; ./update.sh
+ cd wiki ; ./elegen.py ; mv EleMonsters.html ../../web/Monsters.html
cd web ; ./deploy.sh
@echo "Update deployed, please move upload/ and commit result on web."
+ @echo "Don't forget to make translations, client, news and wiki too!"
translation:
- @echo "Fetching translations, ensure lang/login.txt and lang/password.txt exists..."
+ @echo "Fetching server translations, ensure lang/login.txt and lang/password.txt exists..."
cd lang/ ; ./fetch.py
@echo "Updating server translations and preparing for pull..."
cd lang/ ; ./updatelang.py
- @echo "Translations updated, please commit result server-data and tools."
+ @echo "Fetching client translations, ensure lang/login.txt and lang/password.txt exists..."
+ cd lang_client/ ; ./fetch.py
+ @echo "Updating client translations and preparing for pull..."
+ cd lang_client/ ; ./createpots.sh
+ @echo "Translations updated, please commit result on server-data, client-data and tools."
.PHONY: news
news:
@@ -56,3 +63,13 @@ client:
./clientdata.py
@echo "XML files updated, please commit result on client-data."
+.PHONY: full
+full:
+ @echo "full - make contrib + wiki + translation + client + update + news"
+ make contrib
+ make wiki
+ make translation
+ make client
+ make update
+ make news
+