aboutsummaryrefslogblamecommitdiffstats
path: root/moc/Makefile
blob: 0d4ee143359d0a080a11c2e836a6d6d8549ded4e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                           
.POSIX:

install:
	mkdir -p -- ~/.var/lib/moc
	mkdir -p -- ~/.config/bash/aliases.d
	rm -rf ~/.moc
	test ! -d ~/.config/bash/aliases.d/moc
	ln -sf -- .var/lib/moc ~/.moc
	ln -sf -- ~/.dotfiles/moc/bash-aliases ~/.config/bash/aliases.d/moc

uninstall:
	-unlink -- ~/.moc
	-unlink -- ~/.config/bash/aliases.d/moc
	-rmdir -- ~/.config/bash/aliases.d
	-rm -rf -- ~/.var/lib/moc

.PHONY: install uninstall