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