diff options
author | Amin Bandali <bandali@gnu.org> | 2019-04-13 19:26:19 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-04-13 19:26:19 -0400 |
commit | 5fb7704c0f844191de7c5e4d03b059525348b5f4 (patch) | |
tree | a869cb94b55ed373b365f1a4275cc2b9f5f994c2 /.emacs.d/Makefile | |
parent | 466f433f6b3e26d0a57d377cf898a06fc1e453cc (diff) | |
download | configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.tar.gz configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.tar.xz configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.zip |
emacs: move configuration to .emacs.d
Diffstat (limited to '.emacs.d/Makefile')
-rw-r--r-- | .emacs.d/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.emacs.d/Makefile b/.emacs.d/Makefile new file mode 100644 index 0000000..37c1f3f --- /dev/null +++ b/.emacs.d/Makefile @@ -0,0 +1,21 @@ +EMACS ?= emacs +EMACS_ARGUMENTS ?= -Q + +tangle-init: init.el +init.el: init.org + @$(EMACS) $(EMACS_ARGUMENTS) \ + --batch --load org \ + --eval '(org-babel-tangle-file "init.org")' 2>&1 + +build-init: + @$(EMACS) $(EMACS_ARGUMENTS) \ + --batch -l init.el --eval '(a/build-init)' 2>&1 + +ti: tangle-init +bi: build-init + +clean: FORCE + @rm -f init.elc + +.PHONY: clean tangle-init build-init +.FORCE: |