diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-09-16 15:38:58 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-09-16 15:38:58 +0100 |
commit | b920816216cb161449dcf03ffe964c667c7b36c2 (patch) | |
tree | 8f666cc88277df541e3364fbc45dcd63acd7a45e /.zsh/Makefile | |
parent | 63a9e763db248af694edc3755a288f2bfb73c834 (diff) |
Split install file
Diffstat (limited to '.zsh/Makefile')
-rw-r--r-- | .zsh/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.zsh/Makefile b/.zsh/Makefile new file mode 100644 index 0000000..3593740 --- /dev/null +++ b/.zsh/Makefile @@ -0,0 +1,13 @@ +HOME=/home/urbain +TARGETS=$(addprefix $(HOME)/,.zsh .zshrc) + +all : $(TARGETS) + +$(HOME)/.zshrc : + rm -f $@ && ln -s $(PWD)/zshrc $@ + +$(HOME)/.zsh : + rm -f $@ && ln -s $(PWD) $@ + +clean : + rm -f $(TARGETS) |