From 1a369f1af00271c809789a60a4fe46707aba0465 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 13 Dec 2020 10:40:02 -0500 Subject: [PATCH] ensure a rebuild of include/nhlua.h after fetching Lua source --- sys/unix/Makefile.top | 2 ++ 1 file changed, 2 insertions(+) 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)