summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
commit8a4bf716002a017de77fe7df301ef8e4aaf00a2e (patch)
tree4947d0b015baad639fa07133369e9a09c8a468bc /Makefile
downloadserverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.gz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.bz2
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.xz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..b66e50be
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,37 @@
+.PHONY: new server-update server-updatebuild maps build buildasan config updateconfig initdb updatedb givegm updates constdb
+
+new: build config initdb
+
+server-update: updateconfig updatedb
+
+server-updatebuild: build updateconfig updatedb
+
+maps:
+ cd ../tools/hercules/ ; ./tmx_converter.py ../../client-data/ ../../server-data ; ./convert_tmx_to_mapcache.py
+
+build:
+ cd ../tools/localserver/ ; ./build.sh
+
+buildasan:
+ cd ../tools/localserver/ ; ./buildasan.sh
+
+config:
+ cd ../tools/localserver/ ; ./installconfigs.sh
+
+updateconfig:
+ cd ../tools/localserver/ ; ./updateconfigs.sh
+
+initdb:
+ cd ../tools/localserver/ ; ./initdb.sh
+
+updatedb:
+ cd ../tools/localserver/ ; ./updatedb.sh
+
+givegm:
+ cd ../tools/localserver/ ; ./givegm.sh ${ID}
+
+updates:
+ cd ../tools/update/ ; ./createnew.sh ; ./create_music.sh
+
+constdb:
+ mkdir -p doc && ./map-server --run-once --load-plugin constdb2doc --constdb2doc && cp -f doc/constants.md ../docs/server/scripts/constants.md; rm -r doc