summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-27 19:27:23 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-27 19:27:23 -0700
commit686d6622965681b397ee15a6dafbb9129ed75b2f (patch)
tree4be051ae04e0be2e1318e4d3c84d46e7546c6d04
parentelfeed: kill some feeds (diff)
downloademacs.d-686d6622965681b397ee15a6dafbb9129ed75b2f.tar.gz
Makefile: create some directories
Change-Id: Ia32a7837c2b2e9e44881201d611674def10a29ab
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc18153..ec3c8b2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
 XDG_CONFIG=$(HOME)/.config/
 LN = @ln -sf
+default: all
+
+$(PWD)/emacs/var:
+	@mkdir -p $(PWD)/emacs/var
 
 .PHONY: emacs
-emacs:
+emacs: $(PWD)/emacs/var
 	$(LN) $(PWD)/emacs $(XDG_CONFIG)
 
 .PHONY: setup