aboutsummaryrefslogtreecommitdiffstats
path: root/grep/Makefile
blob: 05b27e762b16afdb5d9b68ef1e341ce9e52defcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
.POSIX:

install:
	mkdir -p -- ~/.config/bash/aliases.d
	test ! -e ~/.config/bash/aliases.d/grep || test -L ~/.config/bash/aliases.d/grep
	ln -sf -- ~/.dotfiles/grep/bash-aliases ~/.config/bash/aliases.d/grep

uninstall:
	+! ../check-installed grep
	-unlink -- ~/.config/bash/aliases.d/grep
	-rmdir -- ~/.config/bash/aliases.d