summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-15 19:00:57 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-15 19:00:57 +0000
commitd1fe64be4d7b10fe8deea4cb9ee6dbf3e99f259f (patch)
treeedc4f09177d5ae52cb294de2f4fc47f7cd381490
parentc607f86c3013a65b0888227c8f6385ce72ce0177 (diff)
downloadcrawl-ref-d1fe64be4d7b10fe8deea4cb9ee6dbf3e99f259f.tar.gz
crawl-ref-d1fe64be4d7b10fe8deea4cb9ee6dbf3e99f259f.zip
Vastly simplify dolinks.sh and domake.sh.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6565 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/dolinks.sh11
-rw-r--r--crawl-ref/domake.sh11
2 files changed, 8 insertions, 14 deletions
diff --git a/crawl-ref/dolinks.sh b/crawl-ref/dolinks.sh
index 03fd25be58..e07f884f45 100644
--- a/crawl-ref/dolinks.sh
+++ b/crawl-ref/dolinks.sh
@@ -3,18 +3,11 @@
mkdir -p NORMAL
mkdir -p WIZARD
-pushd NORMAL ; ln -sf ../source/rltiles . ; ln -sf ../source/util . ; ln -sf ../source/*.h ../source/*.cc ../source/makefile* . ; popd
-pushd WIZARD ; ln -sf ../source/rltiles . ; ln -sf ../source/util . ; ln -sf ../source/*.h ../source/*.cc ../source/makefile* . ; popd
+pushd NORMAL ; ln -sf ../source . ; popd
+pushd WIZARD ; ln -sf ../source . ; popd
if [ -d dat ]; then
true
else
ln -sf source/dat dat
fi
-
-if [ -d tiles ]; then
- true
-else
- ln -sf source/rltiles tiles
- pushd source/dat/tiles ; ln -sf ../../rltiles/*.png . ; popd
-fi
diff --git a/crawl-ref/domake.sh b/crawl-ref/domake.sh
index 8306bc2c7e..4ae1a8d6fe 100644
--- a/crawl-ref/domake.sh
+++ b/crawl-ref/domake.sh
@@ -2,12 +2,13 @@
#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
+pushd NORMAL/source ; make ; popd
+pushd WIZARD/source ; make wizard ; popd
-if [ -f NORMAL/crawl ]; then
- ln -sf NORMAL/crawl ncrawl
+if [ -f NORMAL/source/crawl ]; then
+ ln -sf NORMAL/source/crawl ncrawl
fi
-if [ -f WIZARD/crawl ]; then
- ln -sf WIZARD/crawl wcrawl
+if [ -f WIZARD/source/crawl ]; then
+ ln -sf WIZARD/source/crawl wcrawl
fi