From e8ed59141ee78f24de0d7aa8066e78fe18ac9d35 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Wed, 22 Nov 2023 18:56:36 -0500 Subject: workaround for mk-build-deps bug --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6934d38..c9c09d4 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,10 @@ install-stack: stack: @command -v stack >/dev/null || make install-stack -build-deps: build-deps-stamp +build-deps: build-deps-stamp | _build build-deps-stamp: build-deps.control sudo apt --no-upgrade install equivs libdpkg-perl - sudo ./src/mk-build-deps --root-cmd sudo build-deps.control --install --remove + (set -ex; w=$$PWD; cd $$TMP; mk-build-deps --root-cmd sudo "$$w"/build-deps.control --install --remove) touch $@ _build/dynmenu: src/dynmenu.cpp | build-deps -- cgit v1.2.3