From a187752c824b47052d33d3bc12749b5a7d2e8191 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 1 Jun 2023 19:35:59 -0700 Subject: 🤡 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852 --- Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Makefile') 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: -- cgit 1.4.1