From 8a4bf716002a017de77fe7df301ef8e4aaf00a2e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 11:00:49 -0300 Subject: Initial commit --- Makefile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3-60-g2f50