summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-01-04 19:47:49 -0800
committerFranck Cuny <franck@fcuny.net>2021-01-04 19:47:49 -0800
commit0454a3536bdef1657510faa1e472fc5aa9d518a7 (patch)
treee2b561ea5d6acc2b368641b57abab8ee5fd9dd9c /Makefile
parentmake: split between Darwin and Linux (diff)
downloademacs.d-0454a3536bdef1657510faa1e472fc5aa9d518a7.tar.gz
git: store configuration under XDG_CONFIG_HOME
Since `git` understand `$XDG_CONFIG_HOME`, let's gather all the
configuration files there.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 38f2b61..8323e15 100644
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,12 @@ endif
 
 .PHONY: install-general
 install-general:
+	@mkdir -p $(HOME)/.config
 	@mkdir -p $(HOME)/workspace/
 	@curl -s https://github.com/fcuny.keys -o $(HOME)/.ssh/authorized_keys
 	$(LN) $(PWD)/aspell.en.pws $(HOME)/.aspell.en.pws
-	$(LN) $(PWD)/gitconfig $(HOME)/.gitconfig
-	$(LN) $(PWD)/gitignore $(HOME)/.gitignore
+	$(LN) $(PWD)/config/git $(HOME)/.config/
+	$(LN) $(PWD)/emacs $(HOME)/.config/
 	$(LN) $(PWD)/tmux.conf $(HOME)/.tmux.conf
 	$(LN) $(PWD)/zshenv $(HOME)/.zshenv
 	$(LN) $(PWD)/zshrc $(HOME)/.zshrc