summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/am/lisp.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/am/lisp.am b/lib/am/lisp.am
index de9e5bbc1..bfb023f53 100644
--- a/lib/am/lisp.am
+++ b/lib/am/lisp.am
@@ -31,13 +31,13 @@ endif %?INSTALL%
## input (which would erronously put it in $(srcdir) in VPATH builds),
## so we override that, too.
if test "$(EMACS)" != "no"; then \
- am__subdir_includes=''; \
+ am__dir=. am__subdir_includes=''; \
case $@ in */*) \
am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \
am__subdir_includes="-L $$am__dir -L $(srcdir)/$$am__dir"; \
esac; \
## Emacs byte-compilation won't create this automatically, sadly.
- test -d $$am__dir || $(MKDIR_P) $$am__dir || exit 1; \
+ test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
$(EMACS) --batch \
$(AM_ELCFLAGS) $(ELCFLAGS) \
$$am__subdir_includes -L $(builddir) -L $(srcdir) \