💾 Print installtion directory in "make install"

This commit is contained in:
ful1e5 2021-02-02 16:12:56 +05:30
parent 420197b950
commit c6f5ba6238

View file

@ -31,13 +31,14 @@ SHELL:=/bin/bash
install: themes/macOSBigSur install: themes/macOSBigSur
@echo "> Installing '$(theme)' cursors..."
@if [[ $EUID -ne 0 ]]; then @if [[ $EUID -ne 0 ]]; then
@echo "> Installing '$(theme)' cursors inside $(local)/..."
@mkdir -p $(local) @mkdir -p $(local)
@cp -r $(src) $(local_dest) && echo "> Installed!" @cp -r $(src) $(local_dest) && echo "> Installed!"
@else @else
@echo "> Installing '$(theme)' cursors inside $(root)/..."
@mkdir -p $(root) @mkdir -p $(root)
@sudo cp -r $(src) $(root_dest) && echo "> Installed as root!" @sudo cp -r $(src) $(root_dest) && echo "> Installed!"
@fi @fi
uninstall: uninstall: