summaryrefslogtreecommitdiffstats
path: root/crawl-ref/domake.sh
blob: 31e5a269389d6fe5851918bad169df12781a0a3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#jmf: automate making normal & wizard binaries, until they merge
#jmf: N.B.: requires symlink directories; run ./dolinks.sh to make

pushd NORMAL && make && popd && pushd WIZARD && make wizard ; popd

if [ -f NORMAL/crawl ]; then
	ln -sf NORMAL/crawl ncrawl
fi
if [ -f WIZARD/crawl ]; then
	ln -sf WIZARD/crawl wcrawl
fi

if [ -d dat/lua ]; then
	true
else
	cp -r source/lua dat/lua
fi