summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-06-01 19:35:59 -0700
committerFranck Cuny <franck@fcuny.net>2023-06-01 19:35:59 -0700
commita187752c824b47052d33d3bc12749b5a7d2e8191 (patch)
treed939397496dcae8a7634a93b159fab57ee1752ec /Makefile
parentelfeed: add more feeds (diff)
downloademacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to '')
-rw-r--r--Makefile16
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: