|
|
@ -3,6 +3,7 @@ |
|
|
|
DO := ./build/utils.sh
|
|
|
|
DO := ./build/utils.sh
|
|
|
|
SET_CONFIG := $(DO) set-config
|
|
|
|
SET_CONFIG := $(DO) set-config
|
|
|
|
DESTDIR ?= /
|
|
|
|
DESTDIR ?= /
|
|
|
|
|
|
|
|
MAYBE_SUDO := ''
|
|
|
|
|
|
|
|
|
|
|
|
define colorecho |
|
|
|
define colorecho |
|
|
|
@tput setaf 118 || true
|
|
|
|
@tput setaf 118 || true
|
|
|
@ -16,6 +17,10 @@ decorated := True |
|
|
|
stays_on_top := False
|
|
|
|
stays_on_top := False
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(DESTDIR),/) |
|
|
|
|
|
|
|
MAYBE_SUDO := sudo
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Configuration: Use values from command line if provided, default values otherwise.
|
|
|
|
# Configuration: Use values from command line if provided, default values otherwise.
|
|
|
|
at_spi_service ?= True
|
|
|
|
at_spi_service ?= True
|
|
|
@ -59,7 +64,7 @@ clean: |
|
|
|
$(DO) clean
|
|
|
|
$(DO) clean
|
|
|
|
|
|
|
|
|
|
|
|
install: build |
|
|
|
install: build |
|
|
|
sudo $(DO) install $(DESTDIR)
|
|
|
|
$(MAYBE_SUDO) $(DO) install $(DESTDIR)
|
|
|
|
$(call colorecho, SUCCESS!)
|
|
|
|
$(call colorecho, SUCCESS!)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|