summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-18 15:50:21 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-19 14:38:31 +0200
commit4fc838c75156c9b1a20a4719a961322ef434ce82 (patch)
treebb590f0392a8fd2c9223cf8298bdb9e1729b2632 /crawl-ref/source/Makefile
parent20aeacb5663d3a0136d8975792025aa7732f9c53 (diff)
downloadcrawl-ref-4fc838c75156c9b1a20a4719a961322ef434ce82.tar.gz
crawl-ref-4fc838c75156c9b1a20a4719a961322ef434ce82.zip
Hardcode the loading of {stash,wield,runrest,gearset,trapwalk,autofight}.lua
You are free to not use their functionality, load a private modified version, etc, leaving the default version dormant -- and harmless. This removes the need to manually update your config whenever such a lua file is removed or added. They are a part of the game itself now, being written in lua is a hidden implementation detail. There is one file left: lua/kills.lua, it produces spammy dumps not everyone wants. Perhaps it should be always loaded, but disabled unless someone uses an option?
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r--crawl-ref/source/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
index 5fe2f70822..ae4a71d0ac 100644
--- a/crawl-ref/source/Makefile
+++ b/crawl-ref/source/Makefile
@@ -1149,6 +1149,7 @@ endif
$(STRIP) $(prefix_fp)/$(bin_prefix)/$(GAME)
mkdir -p $(datadir_fp)/dat/des
mkdir -p $(datadir_fp)/dat/dlua
+ mkdir -p $(datadir_fp)/dat/clua
mkdir -p $(datadir_fp)/dat/lua
mkdir -p $(datadir_fp)/dat/database
mkdir -p $(datadir_fp)/dat/descript
@@ -1164,6 +1165,7 @@ endif
while read x; \
do echo "dgn.load_des_file('$$x')"; \
done >>$(datadir_fp)/dat/dlua/loadmaps.lua
+ $(COPY) dat/lua/*.lua $(datadir_fp)/dat/clua/
$(COPY) dat/lua/*.lua $(datadir_fp)/dat/lua/
$(COPY_R) dat/database/* $(datadir_fp)/dat/database/
$(COPY_R) dat/descript/* $(datadir_fp)/dat/descript/