aboutsummaryrefslogtreecommitdiffstats
path: root/man/Makefile
blob: 6fe759be825a4dc8186d3c52fed150cd28db1358 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.POSIX:

install:
	../check-installed-shebang colourised-less-for-man
	../check-installed-shebang man
	-../check-in-path dmenu
	../check-in-path sed
	../check-in-path isfg
	../check-in-path less
	mkdir -p -- ~/.local/bin
	ln -sf -- ~/.dotfiles/man/man ~/.local/bin/
	ln -sf -- ~/.dotfiles/man/colourised-less-for-man ~/.local/bin/

uninstall:
	+! ../check-installed man
	+! ../check-installed man-db
	-unlink -- ~/.local/bin/man
	-unlink -- ~/.local/bin/colourised-less-for-man