legacy-dotfiles/emacs/Makefile

23 lines
703 B
Makefile
Raw Normal View History

SUBDIR=.emacs.d
MODULES=eshell site-lisp snippets
EXCLUDE=auto-save-list/ elpa/ .org-id-locations abbrev_defs \
ac-comphist.dat bookmarks custom.el* emms-streams flymake.log \
geiser-history.guile history loaddefs.el smex-items srecode-map.el \
tramp elnode/ emms/ image-dired/ jabber-hist/ jabber/ newsticker/ \
packages/ semanticdb/ templates/ themes/ url/ var/ vendor-lisp/ \
init.html init.org project.el* _publish/
2012-12-04 22:05:24 +01:00
EMACS=emacs
include ../dotfiles2.mk
2013-05-31 17:58:38 +02:00
install: init.elc
2013-04-23 00:27:45 +02:00
init.el: init.org
$(EMACS) -Q -batch \
-eval "(progn (require 'org) (require 'ob-tangle) \
(org-babel-tangle-file \"$^\"))"
2013-05-31 17:58:38 +02:00
init.elc: init.el
$(EMACS) -Q -batch -eval "(byte-compile-file \"init.el\")"