legacy-dotfiles/emacs/Makefile

22 lines
711 B
Makefile

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/
EMACS=emacs
include ../dotfiles2.mk
install: init.elc
# init.el: init.org
# $(EMACS) -Q -batch \
# -eval "(progn (require 'org) (require 'ob-tangle) \
# (org-babel-tangle-file \"$^\"))"
init.elc: init.el
$(EMACS) -Q -batch -eval "(byte-compile-file \"init.el\")"