From: nhmall Date: Sun, 13 Dec 2020 15:40:02 +0000 (-0500) Subject: ensure a rebuild of include/nhlua.h after fetching Lua source X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a369f1af00271c809789a60a4fe46707aba0465;p=nethack ensure a rebuild of include/nhlua.h after fetching Lua source --- diff --git a/sys/unix/Makefile.top b/sys/unix/Makefile.top index 53fc5dbaf..969f3e4d5 100644 --- a/sys/unix/Makefile.top +++ b/sys/unix/Makefile.top @@ -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)