diff --git a/Makefile b/Makefile index 32cab807..6ac3e168 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,13 @@ include Makefile.in build: system-packages : +install: + @echo "linking dot files to \$$HOME directory: $$HOME" + @if grep -Eq '(source|\.).+bash-tools/.bashrc' ~/.bashrc; then echo "already sourced in ~/.bashrc"; else echo "source $$PWD/.bashrc" >> ~/.bashrc; fi + @for filename in .tmux.conf .ansible.cfg; do\ + ln -s "$$filename" ~; \ + done + .PHONY: test test: ./all.sh