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

-4
View File
@@ -25,10 +25,6 @@ for arg in "$@"; do
done
if [ "$HAS_INSTALL" = "1" ] || [ "$HAS_UNINSTALL" = "1" ]; then
if [ "$HAS_INSTALL" = "1" ]; then
make -f "$MK_FILE" release
fi
if [ "$IS_WIN" = "1" ] || [ "$(id -u)" = "0" ]; then
PRIV=""
elif command -v doas > /dev/null 2>&1; then