diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/Makefile b/Makefile index 0d69c4a..31a77ed 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ XDG_CONFIG=$(HOME)/.config/ -WORKSPACE=$(HOME)/workspace LN = @ln -sf .PHONY: xdg_config @@ -13,42 +12,13 @@ go: @go install github.com/go-delve/delve/cmd/dlv@latest .PHONY: emacs -emacs: xdg_config git go +emacs: xdg_config go $(LN) $(PWD)/emacs $(XDG_CONFIG) $(LN) $(PWD)/aspell.en.pws $(HOME)/.aspell.en.pws -.PHONY: zsh -zsh: - $(LN) $(PWD)/zshenv $(HOME)/.zshenv - $(LN) $(PWD)/zshrc $(HOME)/.zshrc - -.PHONY: git -git: xdg_config - $(LN) $(PWD)/config/git $(XDG_CONFIG) - -.PHONY: tmux -tmux: - $(LN) $(PWD)/tmux.conf $(HOME)/.tmux.conf - -.PHONY: workspace -workspace: - @mkdir -p $(WORKSPACE) - -.PHONY: ssh -ssh: - @curl -s https://fcuny.net/ssh.pub.sig -o $(HOME)/.ssh/authorized_keys - -.PHONY: check-dead -check-dead: - @find ~ -maxdepth 1 -name '.*' -type l -exec test ! -e {} \; -print - -.PHONY: clean-dead -clean-dead: - @find ~ -maxdepth 1 -name '.*' -type l -exec test ! -e {} \; -delete - .PHONY: setup setup: @git config --local user.email "franck@fcuny.net" @git config --local user.name "Franck Cuny" -all: setup xdg_config workspace emacs zsh git tmux ssh check-dead +all: setup xdg_config emacs check-dead |