summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile.unix
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-15 15:53:28 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-15 15:53:28 +0000
commit0755365e33309ffc1c0985bd1a84558fb1ad0715 (patch)
treec9b2ad6ca0aefc48ad6f868a9f050b6d3c68cba9 /crawl-ref/source/makefile.unix
parent547d7729392c008d4baaac82ea81d794a552fcd2 (diff)
downloadcrawl-ref-0755365e33309ffc1c0985bd1a84558fb1ad0715.tar.gz
crawl-ref-0755365e33309ffc1c0985bd1a84558fb1ad0715.zip
Account for the new database directory when building. Apply evktalo's
patch [1914727] to fix makefile.mgw, and apply similar changes to the other makefiles to fix the same problem (untested). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3651 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makefile.unix')
-rw-r--r--crawl-ref/source/makefile.unix7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix
index df0a9db9d3..ecd37dcc5c 100644
--- a/crawl-ref/source/makefile.unix
+++ b/crawl-ref/source/makefile.unix
@@ -230,11 +230,14 @@ install: $(GAME)
ifeq ($(DATADIR),)
$(error DATADIR not set! Set DATADIR and run make clean install again)
endif
+ mkdir -p $(DATADIR)/dat
mkdir -p $(DATADIR)/dat/clua
+ mkdir -p $(DATADIR)/dat/descript
+ mkdir -p $(DATADIR)/dat/database
cp dat/*.des $(DATADIR)/dat
- cp -r dat/descript $(DATADIR)/dat
- cp dat/*.txt $(DATADIR)/dat
cp dat/clua/*.lua $(DATADIR)/dat/clua
+ cp dat/descript/*.txt $(DATADIR)/dat/descript
+ cp dat/database/*.txt $(DATADIR)/dat/database
cp -r lua $(DATADIR)/dat
mkdir -p $(DATADIR)/docs
cp ../docs/*.txt $(DATADIR)/docs