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:
1 parent
6a09d376c3
commit
a88b87653e
4 files changed
+2
-16
No files matched your search
@@ -174,7 +174,7 @@ obj/release/server/%.o: %.c
|
||||
-include $(wildcard obj/release/gl/*.d)
|
||||
-include $(wildcard obj/release/server/*.d)
|
||||
|
||||
install:
|
||||
install: release
|
||||
install -d $(PREFIX)/bin
|
||||
install -m 755 $(BIN_DIR)/release/$(CLIENT_BIN) $(PREFIX)/bin/$(CLIENT_BIN)
|
||||
install -m 755 $(BIN_DIR)/release/$(GLCLIENT_BIN) $(PREFIX)/bin/$(GLCLIENT_BIN)
|
||||
|
||||
Reference in new issue
Block a user