aboutsummaryrefslogblamecommitdiffstats
path: root/moc/Makefile
blob: 70d4be60d90ec4d77c327201b8c3fd7216dff260 (plain) (tree)
1
2
       
                    















                                                                           
.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