SRC := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) include ../lib/shared.mk TARGET := $(XDG_DIR)/rofi install: | init update init: ifeq ($(call cmd_exist,rofi), true) $(info => Setting up rofi) $(mk_link) $(SRC) $(TARGET) endif update: remove: $(info => Remvoing rofi) $(rm_link) $(TARGET)