aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu/Makefile
blob: 5ed7d048b6ad82f8511ee148986fc55b297994de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.POSIX:
include ../common.mk

install:
	$(CHECK_INSTALLED) dash
	$(CHECK_INSTALLED) vis
	make -C unicode.d
	mkdir -p -- ~/.local/bin
	ln -sf -- ~/.dotfiles/dmenu/dmenu ~/.local/bin/
	ln -sf -- ~/.dotfiles/dmenu/man ~/.local/bin/
	ln -sf -- ~/.dotfiles/dmenu/ipa ~/.local/bin/
	ln -sf -- ~/.dotfiles/dmenu/unicode ~/.local/bin/
	ln -sf -- ~/.dotfiles/dmenu/plumb ~/.local/bin/

uninstall:
	-unlink -- ~/.local/bin/dmenu
	-unlink -- ~/.local/bin/man
	-unlink -- ~/.local/bin/ipa
	-unlink -- ~/.local/bin/unicode
	-unlink -- ~/.local/bin/plumb
	-make -C unicode.d reallyclean

.PHONY: install uninstall