summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2013-10-31 15:32:04 +0100
committerRaphael Langella <raphael.langella@gmail.com>2013-10-31 15:32:41 +0100
commit9e7b93ed6e36c263d0bb2b8132ba36d34b3a9bc1 (patch)
tree1479d0fd15114aa839d9eea8b163cfc761c41d5d /crawl-ref/source/Makefile
parent8b6206d0ad80d9d1415a3ccc1097afda192f6713 (diff)
downloadcrawl-ref-9e7b93ed6e36c263d0bb2b8132ba36d34b3a9bc1.tar.gz
crawl-ref-9e7b93ed6e36c263d0bb2b8132ba36d34b3a9bc1.zip
Don't install transifex files.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r--crawl-ref/source/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
index a14a73eabf..138c508b7e 100644
--- a/crawl-ref/source/Makefile
+++ b/crawl-ref/source/Makefile
@@ -1090,6 +1090,7 @@ GENERATED_FILES := $(GENERATED_HEADERS) art-data.h mi-enum.h \
$(RLTILES)/dc-unrand.txt build.h compflag.h dat/dlua/tags.lua \
cmd-name.h
+LANGUAGES = $(filter-out en, $(notdir $(wildcard dat/descript/??)))
SRC_PKG_BASE := stone_soup
SRC_VERSION := $(shell git describe --tags $(MERGE_BASE) 2>/dev/null || cat util/release_ver)
MAJOR_VERSION = $(shell echo "$(SRC_VERSION)"|sed -r 's/-.*//;s/^([^.]+\.[^.]+).*/\1/')
@@ -1300,6 +1301,9 @@ endif
mkdir -p $(datadir_fp)/dat/database
mkdir -p $(datadir_fp)/dat/defaults
mkdir -p $(datadir_fp)/dat/descript
+ for LANG in $(LANGUAGES); \
+ do mkdir -p $(datadir_fp)/dat/descript/$$LANG; \
+ done
mkdir -p $(datadir_fp)/docs/develop
mkdir -p $(datadir_fp)/docs/develop/levels
mkdir -p $(datadir_fp)/docs/license
@@ -1315,7 +1319,10 @@ endif
$(COPY) dat/clua/*.lua $(datadir_fp)/dat/clua/
$(COPY_R) dat/database/* $(datadir_fp)/dat/database/
$(COPY_R) dat/defaults/* $(datadir_fp)/dat/defaults/
- $(COPY_R) dat/descript/* $(datadir_fp)/dat/descript/
+ $(COPY) dat/descript/*.txt $(datadir_fp)/dat/descript/
+ for LANG in $(LANGUAGES); \
+ do $(COPY) dat/descript/$$LANG/*.txt $(datadir_fp)/dat/descript/$$LANG; \
+ done
$(COPY) ../docs/*.txt $(datadir_fp)/docs/
$(COPY) ../docs/develop/*.txt $(datadir_fp)/docs/develop/
$(COPY) ../docs/develop/levels/*.txt $(datadir_fp)/docs/develop/levels/