From d76152b8fdb6955f50ef9f896805d083dbbbbd90 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Wed, 5 Jun 2019 11:36:07 -0500 Subject: [PATCH] Makefile: Detect VMs without dxvk_crosscc chroot --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index afcc58bb..2dfe82ed 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ clean: vagrant vagrant ssh -c 'rm -rf $(BUILD_DIR)/' configure: vagrant - vagrant ssh -c 'if [ ! -e $(BUILD_DIR)/Makefile ]; then mkdir -p $(BUILD_DIR); (cd $(BUILD_DIR) && $(CONFIGURE_CMD)); fi' + @vagrant ssh -c 'if [ ! -e $(BUILD_DIR)/Makefile ]; then if ! schroot -i -c dxvk_crosscc >/dev/null 2>&1; then echo !!!! You must run \"vagrant provision\" !!!!; exit 1; fi; mkdir -p $(BUILD_DIR); (cd $(BUILD_DIR) && $(CONFIGURE_CMD)); fi' proton: configure vagrant ssh -c 'make -C $(BUILD_DIR)/ dist'