From f23d10ec5d13809f947abfc1bdaf4985df9dd9f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 13 Dec 2022 09:44:11 +0100 Subject: [PATCH] build: use workspace member list for SUBCRATES MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit similar to what's done in the proxmox repo/workspace, to avoid them getting out of sync. before this change, the recently introduced pbs-key-config was missing. Signed-off-by: Fabian Grünbichler --- Makefile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 2b6377dd..6b9ab3bb 100644 --- a/Makefile +++ b/Makefile @@ -31,22 +31,7 @@ SERVICE_BIN := \ RESTORE_BIN := \ proxmox-restore-daemon -SUBCRATES := \ - pbs-api-types \ - pbs-buildcfg \ - pbs-client \ - pbs-config \ - pbs-datastore \ - pbs-fuse-loop \ - pbs-pxar-fuse \ - pbs-tape \ - pbs-tools \ - proxmox-backup-banner \ - proxmox-backup-client \ - proxmox-file-restore \ - proxmox-restore-daemon \ - proxmox-rrd \ - pxar-bin +SUBCRATES != cargo metadata --format-version=1 | jq -r .workspace_members'[]' | awk '{ print $$1 }' | grep -v '^proxmox-backup$$' | tr '\n' ' ' ifeq ($(BUILD_MODE), release) CARGO_BUILD_ARGS += --release -- 2.39.5