dotfiles/tridactyl/makefile

20 lines
363 B
Makefile

SRC := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
include ../lib/shared.mk
TARGET := $(XDG_DIR)/tridactyl
install: | init update
init:
ifeq ($(shell $(call cmd_exist,firefox) || $(IS_MAC) ; echo $$? ), 0)
$(info => Setting up Tridacyl)
$(mk_link) $(SRC) $(TARGET)
endif
update:
remove:
$(info => Remvoing tridactyl )
$(rm_link) $(TARGET)