dotfiles/rofi/makefile
2019-05-04 01:51:37 -04:00

19 lines
314 B
Makefile

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)