diff --git a/Makefile b/Makefile index d23183e..605ad7f 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,13 @@ install: build @echo "Installing Hyprland" sudo $(MAKE) -C Hyprland install +update: + @echo "Updating module components..." + sudo 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) + test: build @echo "Be real, you don't want to do this, so we'll abort." $(error No test-suite implemented) @@ -137,4 +144,4 @@ clean: @echo "Cleaning up from build process..." sudo rm -rf $(addsuffix /build, $(COMPONENTS)) >/dev/null 2>&1 -.PHONY : all build install test +.PHONY : all build install test clean update