blob: 70d4be60d90ec4d77c327201b8c3fd7216dff260 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
.POSIX:
include ../common.mk
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
|