fix: install depends on release instead of relying on build.sh order

clean+install in one invocation wiped the release build before install
ran. install now has a real release prerequisite so make's own
dependency graph handles rebuilds regardless of target order; the
redundant manual pre-build in build.sh/build.bat is removed.
This commit is contained in:
anth64 committed 2026-11-14 15:41:29 +01:00
1 parent 6a09d376c3
commit a88b87653e
4 files changed
+2 -16

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ ${.CURDIR}/obj/release/server/${_src:S/.c$/.o/}: ${_src}
.-include "obj/release/gl/*.d"
.-include "obj/release/server/*.d"
install:
install: release
install -d ${PREFIX}/bin
install -m 755 ${.CURDIR}/${BIN_DIR}/release/${CLIENT_BIN} ${PREFIX}/bin/${CLIENT_BIN}
install -m 755 ${.CURDIR}/${BIN_DIR}/release/${GLCLIENT_BIN} ${PREFIX}/bin/${GLCLIENT_BIN}