summaryrefslogtreecommitdiffstats
path: root/emacs/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-02-17 23:09:24 +0100
committerGravatar Tom Willemsen2013-02-17 23:09:33 +0100
commita281f040cd35dffe171d5b7d6b00fe03163be6a0 (patch)
tree744e2d8aeaed2aca087a1c1cbc3e9791644e973d /emacs/Makefile
parent50ab6deeabf2769ed3c4ff67385fae768ff41ee2 (diff)
downloaddotfiles-a281f040cd35dffe171d5b7d6b00fe03163be6a0.tar.gz
dotfiles-a281f040cd35dffe171d5b7d6b00fe03163be6a0.zip
Move .emacs.d to emacs
Since it's no longer placed directly in the home directory it doesn't need to be named exacly the same.
Diffstat (limited to 'emacs/Makefile')
-rw-r--r--emacs/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/Makefile b/emacs/Makefile
new file mode 100644
index 0000000..fc17095
--- /dev/null
+++ b/emacs/Makefile
@@ -0,0 +1,11 @@
+DESTDIR:=$(DESTDIR)/.emacs.d
+objects=init.elc init.el gnus.elc gnus.el init2.elc init2.el
+modules=eshell site-lisp snippets
+
+EMACS=emacs
+
+include ../dotfiles.mk
+
+init2.el: init.org
+ $(EMACS) -Q -batch \
+ -eval "(progn (require 'org) (require 'ob-tangle) (org-babel-tangle-file \"$^\"))"