From 62dea8845d746f9ecfddf7766704cb77856ae02c Mon Sep 17 00:00:00 2001 From: wushin Date: Tue, 20 Sep 2016 16:09:27 -0500 Subject: Add makefile to make development easier --- .gitignore | 2 +- Makefile | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 502826fd..bd3407ff 100644 --- a/.gitignore +++ b/.gitignore @@ -29,11 +29,11 @@ Thumbs.db /core /ipch /login-server -/Makefile /Makefile.cache /map-server /mapcache /configure +/versions # /plugins -- everything /plugins/ diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..b3b710cf --- /dev/null +++ b/Makefile @@ -0,0 +1,32 @@ +new: build config initdb + +server-update: updateconfig updatedb + +server-updatebuild: build updateconfig updatedb + +maps: + cd ../tools/hercules/ ; ./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 -- cgit v1.2.3-70-g09d2