From 4a4c0ff1cfd2bc2c4a6b3c2dd191588917d79d9e Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Mon, 1 Jul 2024 19:19:20 +0100 Subject: [PATCH] Updated Makefile Amended privilege elevations. Note: `make build` should be used and when building libraries, user will be prompt appropriately when those libraries need to be installed before other components are built. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 605ad7f..7049741 100644 --- a/Makefile +++ b/Makefile @@ -131,10 +131,10 @@ install: build update: @echo "Updating module components..." - sudo git submodule foreach \ + git submodule foreach \ 'git pull origin $(git rev-parse --abbrev-ref HEAD)' - cd tomlplusplus && sudo git pull origin $(git rev-parse --abbrev-ref HEAD) - cd libxcb-error && sudo git pull origin $(git rev-parse --abbrev-ref HEAD) + cd tomlplusplus && git pull origin $(git rev-parse --abbrev-ref HEAD) + cd libxcb-error && git pull origin $(git rev-parse --abbrev-ref HEAD) test: build @echo "Be real, you don't want to do this, so we'll abort." @@ -142,6 +142,6 @@ test: build clean: @echo "Cleaning up from build process..." - sudo rm -rf $(addsuffix /build, $(COMPONENTS)) >/dev/null 2>&1 + rm -rf $(addsuffix /build, $(COMPONENTS)) >/dev/null 2>&1 .PHONY : all build install test clean update