-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcommon.mk
24 lines (21 loc) · 1 KB
/
common.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
MOSTLYCLEANFILES = *.elc
EMACSLOADPATH=:/home/rocky/.emacs.d/elpa/test-simple-20170527.1532/:/home/rocky/.emacs.d/elpa/realgud-20190504.1238/:/home/rocky/.emacs.d/elpa/load-relative-20170526.1010/:/home/rocky/.emacs.d/elpa/loc-changes-20160801.1708/
short:
$(MAKE) 2>&1 >/dev/null | ruby $(top_srcdir)/make-check-filter.rb
%.short:
$(MAKE) $(@:.short=) 2>&1 >/dev/null
# This is the default rule, but we need to include an EMACLOADPATH
.el.elc:
if test "$(EMACS)" != "no"; then \
am__dir=. am__subdir_includes=''; \
case $@ in */*) \
am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \
am__subdir_includes="-L $$am__dir -L $(srcdir)/$$am__dir"; \
esac; \
test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
EMACSLOADPATH=$(EMACSLOADPATH) $(EMACS) --batch \
$(AM_ELCFLAGS) $(ELCFLAGS) \
$$am__subdir_includes -L $(builddir) -L $(srcdir) \
--eval "(defun byte-compile-dest-file-function (f) \"$@\")" \
--eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \
else :; fi