dotfiles/rofi/makefile

19 lines
314 B
Makefile
Raw Normal View History

2019-05-04 05:51:37 +00:00
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)