diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile
index 5e94d6fcd35f8354a326cdb82e2f7e6b1c26f26b..a48540a92b4aa5140a87469b36c1f9b3d8e46e7f 100644 (file)
--- a/contrib/emacs/Makefile
+++ b/contrib/emacs/Makefile
install: all
$(INSTALL) -d $(DESTDIR)$(emacsdir)
- $(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
+ $(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
%.elc: %.el
$(EMACS) -batch -f batch-byte-compile $<