fix: install depends on release instead of manual pre-build

clean+install in one invocation (make or build.sh/build.bat) wiped the
release build between the pre-build and the install check. install now
has a real release prerequisite so make's own dependency graph handles
rebuilds correctly regardless of target order.
This commit is contained in:
anth64 committed 2026-11-14 15:41:11 +01:00
1 parent f1b9383d52
commit b094b385d5
6 files changed
+4 -20

No files matched your search

-10
View File
@@ -1,14 +1,4 @@
@echo off
setlocal
set HAS_INSTALL=0
for %%a in (%*) do (
if "%%a"=="install" set HAS_INSTALL=1
)
if "%HAS_INSTALL%"=="1" (
make -f gmake.mk release
if errorlevel 1 exit /b 1
)
make -f gmake.mk %*