summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-23 00:05:15 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-23 00:08:51 -0700
commitedbbbc19ba6f636aee19890aba2ec082d45c1034 (patch)
tree38be76db1e67c1fe8261e71b186976fcb7177c08 /Makefile
parent6f8a71981ea64fe5559a47a11daa3365926c89f0 (diff)
downloadserverdata-edbbbc19ba6f636aee19890aba2ec082d45c1034.tar.gz
serverdata-edbbbc19ba6f636aee19890aba2ec082d45c1034.tar.bz2
serverdata-edbbbc19ba6f636aee19890aba2ec082d45c1034.tar.xz
serverdata-edbbbc19ba6f636aee19890aba2ec082d45c1034.zip
Makefile to copy nonexisting conf files, and change defaults to localhost
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc5b5e29..5b593c8f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,12 @@
-.PHONY: maps
+.PHONY: all maps conf
+all: maps conf
maps:
ant -f tools/tmwcon/build.xml
java -jar tools/tmwcon/converter.jar client-data/ world/map/
+% : | %.example
+ cp "$|" "$@"
+conf: \
+login/conf/login_local.conf login/conf/ladmin_local.conf login/save/gm_account.txt login/save/account.txt \
+world/map/conf/map_local.conf world/map/conf/battle_local.conf world/map/conf/motd.txt world/map/conf/help.txt world/map/conf/atcommand_local.conf \
+world/conf/char_local.conf
+