mk/emacsd-rules.mk
2012-08-02 09:01:47 +02:00

16 lines
457 B
Makefile

# #########################################################################
# general emacs lisp pattern rules
# #########################################################################
%/elisp-all:
"$(MAKE)" -C $* $(@F)
%.elc : %.el
"$(EMACS)"\
--eval '(setq vc-handled-backends nil)' -batch -q -no-site-file\
$(addprefix -L ,$(LOAD_PATH)) $(EMACSFLAGS)\
-f batch-byte-compile $(call emacspath,$?)
# Local Variables:
# tab-width: 2
# End: