diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile index ec3c8b2..7a16801 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,15 @@ -XDG_CONFIG=$(HOME)/.config/ +EMACS = emacs +EMACS_BATCH = $(EMACS) -Q -batch +XDG_CONFIG = $(HOME)/.config/ LN = @ln -sf -default: all - -$(PWD)/emacs/var: - @mkdir -p $(PWD)/emacs/var .PHONY: emacs -emacs: $(PWD)/emacs/var - $(LN) $(PWD)/emacs $(XDG_CONFIG) +emacs: + $(LN) $(PWD) $(XDG_CONFIG) + +clean: + rm -f init.el *.elc *~ settings.el + rm -rf elpa eln-cache .PHONY: setup setup: |