]> git.proxmox.com Git - pve-installer.git/commitdiff
buildsys: add prerequisites to compiled binaries target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 12:57:20 +0000 (14:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 13:08:03 +0000 (15:08 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 19fbf7926882db6e9807bd81c442f7db933ad0cf..1e48acf21caa83e8e78c9b09ea32f59593f2d523 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,9 @@ install: $(INSTALLER_SOURCES) $(CARGO_COMPILEDIR)/proxmox-tui-installer
        install -D -m 755 spice-vdagent.sh $(DESTDIR)/.spice-vdagent.sh
        install -D -m 644 Xdefaults $(DESTDIR)/.Xdefaults
 
-$(COMPILED_BINS):
+$(COMPILED_BINS): cargo-build
+.PHONY: cargo-build
+cargo-build:
        $(CARGO) build --package proxmox-tui-installer --bin proxmox-tui-installer $(CARGO_BUILD_ARGS)
 
 %-banner.png: %-banner.svg