blob: 0d4ee143359d0a080a11c2e836a6d6d8549ded4e (
plain) (
tree)
|
|
.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
|