blob: 5c9346b81ef3a1d54ab93cebdf48d2fdbbf9d924 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $FreeBSD$
.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; \
$(EMACS) --batch \
$(AM_ELCFLAGS) $(ELCFLAGS) \
$$am__subdir_includes -L $(builddir) -L $(srcdir) \
--eval '(setq byte-compile-dest-file-function (lambda (_) "/tmp/$@"))' \
-f batch-byte-compile '$<'; \
if [ -f "/tmp/$@" ]; then \
cp /tmp/$@ $@ && rm -f /tmp/$@; \
fi; \
else :; fi
|