]> granicus.if.org Git - nethack/commitdiff
ensure a rebuild of include/nhlua.h after fetching Lua source
authornhmall <nhmall@nethack.org>
Sun, 13 Dec 2020 15:40:02 +0000 (10:40 -0500)
committernhmall <nhmall@nethack.org>
Sun, 13 Dec 2020 15:40:02 +0000 (10:40 -0500)
sys/unix/Makefile.top

index 53fc5dbaf6c88dd4bc3044c4dd5d76081269b814..969f3e4d5b9b578dde19d48d6deb9df7415bbeed 100644 (file)
@@ -270,6 +270,8 @@ fetch-Lua:
        ( mkdir -p lib && cd lib && \
          curl -R -O http://www.lua.org/ftp/lua-$(LUA_VERSION).tar.gz && \
          tar zxf lua-$(LUA_VERSION).tar.gz && rm -f lua-$(LUA_VERSION).tar.gz )
+#if we just fetched lua, force include/nhlua.h to be built based on it
+       -rm include/nhlua.h
 
 update: $(GAME) recover $(VARDAT) spec_levs
 #      (don't yank the old version out from under people who're playing it)