summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 4 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 8c4534d..637dc8e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,4 @@
-pwd = $(shell pwd)
-
-.PHONY: all
-all: dotfiles
-
-# dotfiles
-.PHONY: dotfiles
-dotfiles: ~/.gitconfig ~/.gitignore ~/.config/zsh ~/.config/nvim ~/.zshrc
-
-~/.gitconfig:
- ln -s $(pwd)/git/config ~/.gitconfig || true
-~/.gitignore:
- ln -s $(pwd)/git/ignore ~/.gitignore || true
-~/.config/nvim:
- ln -s $(pwd)/nvim ~/.config/nvim || true
-~/.config/zsh:
- ln -s $(pwd)/zsh ~/.config/zsh || true
-~/.zshrc:
- @ln -s $(pwd)/zsh/zshrc ~/.zshrc || true
-
+all:
+ stow -v -t ~/.config config
+ stow -v zsh
+ stow -v git