From 6af710bc97a3384798f715b29ebe6081a59f0c20 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 4 Feb 2022 17:11:09 -0500 Subject: [PATCH] provide a Makefile target to clean the Lua submodule --- sys/unix/Makefile.top | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/unix/Makefile.top b/sys/unix/Makefile.top index 53649f62a..d2d00b6fb 100644 --- a/sys/unix/Makefile.top +++ b/sys/unix/Makefile.top @@ -371,3 +371,7 @@ spotless-keep-lib: clean-keep-lib ( cd util ; $(MAKE) spotless ) ( cd dat ; $(MAKE) spotless ) ( cd doc ; $(MAKE) spotless ) +spotless-clean-submodule: + @( if test -f submodules/lua/lua.h ; then \ + git submodule deinit submodules/lua ; fi ) + -- 2.50.1