Fix Makefile install target

install depends on 'all' (which includes ui if Qt6 present)
instead of having broken split dependency lines
This commit is contained in:
Levi Neely 2026-10-01 10:12:53 +02:00
parent 43565ad1b6
commit 9e6dc589bd
1 changed files with 1 additions and 2 deletions

View File

@ -30,12 +30,11 @@ else
@echo "Skipping UI build: Qt6 Qml not found" @echo "Skipping UI build: Qt6 Qml not found"
endif endif
install: release install: all
install -d $(BINDIR) install -d $(BINDIR)
install -m 755 target/release/ork $(BINDIR)/ork install -m 755 target/release/ork $(BINDIR)/ork
install -m 755 target/release/ork-server $(BINDIR)/ork-server install -m 755 target/release/ork-server $(BINDIR)/ork-server
ifeq ($(HAS_QT6_QML),yes) ifeq ($(HAS_QT6_QML),yes)
install: ui
install -m 755 ui/build/bin/orkmode $(BINDIR)/orkmode install -m 755 ui/build/bin/orkmode $(BINDIR)/orkmode
endif endif