Makefile (512B)
1# `dmenu` is not a hard dependency, but you need it unless 2# you plan to set CM_LAUNCHER to another value like `rofi` 3REQUIRED_BINS := xsel clipnotify 4PREFIX ?= /usr 5$(foreach bin,$(REQUIRED_BINS),\ 6 $(if $(shell command -v $(bin) 2> /dev/null),$(info Found `$(bin)`),$(error Missing Dep. Please install `$(bin)`))) 7 8.PHONY: install 9 10install: 11 install --target "${PREFIX}/bin" -D -m755 clipmenu clipmenud clipdel clipctl 12 install -D -m644 init/clipmenud.service "${PREFIX}/lib/systemd/user/clipmenud.service"