Skip to content

Commit

Permalink
makefile: add build target for unlocalized servers
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed May 5, 2018
1 parent 632b8bf commit 3865490
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = $(shell git describe --abbrev=0 --tags)

all: clean enUS koKR frFR deDE zhCN esES ruRU
all: clean enUS koKR frFR deDE zhCN esES ruRU noLoc

clean:
rm -rfv release
Expand All @@ -16,6 +16,24 @@ enUS koKR frFR deDE zhCN esES ruRU:
sed -i "s/NORELEASE/$(VERSION)/g" release/$@/pfQuest/pfQuest.toc
cd release/$@ && zip -qr9 ../pfQuest-$(VERSION)-$@.zip pfQuest

noLoc:
@echo "===== building $@ ====="
mkdir -p release/$@/pfQuest/db
cp -rf compat release/$@/pfQuest/
cp -rf img release/$@/pfQuest/
cp -rf db/*.lua release/$@/pfQuest/db
cp -rf db/enUS release/$@/pfQuest/db
mkdir -p release/$@/pfQuest/db/koKR release/$@/pfQuest/db/frFR release/$@/pfQuest/db/deDE release/$@/pfQuest/db/zhCN release/$@/pfQuest/db/esES release/$@/pfQuest/db/ruRU
cp -rf db/koKR/zones.lua release/$@/pfQuest/db/koKR/
cp -rf db/frFR/zones.lua release/$@/pfQuest/db/frFR/
cp -rf db/deDE/zones.lua release/$@/pfQuest/db/deDE/
cp -rf db/zhCN/zones.lua release/$@/pfQuest/db/zhCN/
cp -rf db/esES/zones.lua release/$@/pfQuest/db/esES/
cp -rf db/ruRU/zones.lua release/$@/pfQuest/db/ruRU/
cp -rf browser.lua database.lua map.lua quest.lua config.lua slashcmd.lua pfQuest.toc LICENSE README.md release/$@/pfQuest/
sed -i "s/NORELEASE/$(VERSION)/g" release/$@/pfQuest/pfQuest.toc
cd release/$@ && zip -qr9 ../pfQuest-$(VERSION)-$@.zip pfQuest

database:
$(MAKE) -C toolbox/ all

Expand Down

0 comments on commit 3865490

Please sign in to comment.