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.
This commit is contained in:
parent
5ac22f4dd3
commit
4a4c0ff1cf
8
Makefile
8
Makefile
|
|
@ -131,10 +131,10 @@ install: build
|
||||||
|
|
||||||
update:
|
update:
|
||||||
@echo "Updating module components..."
|
@echo "Updating module components..."
|
||||||
sudo git submodule foreach \
|
git submodule foreach \
|
||||||
'git pull origin $(git rev-parse --abbrev-ref HEAD)'
|
'git pull origin $(git rev-parse --abbrev-ref HEAD)'
|
||||||
cd tomlplusplus && sudo git pull origin $(git rev-parse --abbrev-ref HEAD)
|
cd tomlplusplus && git pull origin $(git rev-parse --abbrev-ref HEAD)
|
||||||
cd libxcb-error && sudo git pull origin $(git rev-parse --abbrev-ref HEAD)
|
cd libxcb-error && git pull origin $(git rev-parse --abbrev-ref HEAD)
|
||||||
|
|
||||||
test: build
|
test: build
|
||||||
@echo "Be real, you don't want to do this, so we'll abort."
|
@echo "Be real, you don't want to do this, so we'll abort."
|
||||||
|
|
@ -142,6 +142,6 @@ test: build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo "Cleaning up from build process..."
|
@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
|
.PHONY : all build install test clean update
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user