summaryrefslogtreecommitdiffstats
path: root/crawl-ref/dolinks.sh
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2010-01-03 12:49:46 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2010-01-03 12:49:46 -0600
commitcf69ea840201f25fbaef747ffa1d6e3c6e4284e5 (patch)
treef5abe1c2cba9dd3c232497dcbb8d437b76ce8379 /crawl-ref/dolinks.sh
parentbe54114465b46144149434dadeed5bbe813a2df9 (diff)
downloadcrawl-ref-cf69ea840201f25fbaef747ffa1d6e3c6e4284e5.tar.gz
crawl-ref-cf69ea840201f25fbaef747ffa1d6e3c6e4284e5.zip
Make dolinks.sh create docs/ links.
This fixes generation of aptitudes.txt when using domake.sh.
Diffstat (limited to 'crawl-ref/dolinks.sh')
-rwxr-xr-xcrawl-ref/dolinks.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/dolinks.sh b/crawl-ref/dolinks.sh
index c6c6c6e862..c3d3efc743 100755
--- a/crawl-ref/dolinks.sh
+++ b/crawl-ref/dolinks.sh
@@ -2,10 +2,14 @@
dolinks() {
mkdir -p source
+ mkdir -p docs
cd source
ln -sf ../../source/*.{cc,h,txt} .
ln -sf ../../source/makefile* .
ln -sf ../../source/{util,contrib,rltiles,prebuilt,dat} .
+ cd ..
+ cd docs
+ ln -sf ../../docs/* .
}
mkdir -p NORMAL