aboutsummaryrefslogtreecommitdiffstats
path: root/ponysay/Makefile
blob: 7e807d6e541e76f59c744376d76b52b31970134c (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/ponysay || test -L ~/.config/bash/aliases.d/ponysay
	ln -sf -- ~/.dotfiles/ponysay/bash-aliases ~/.config/bash/aliases.d/ponysay

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