+2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * automake.in (handle_python): Use require_conf_file_with_conf_line
+ instead of require_file_with_conf_line, so that elisp-comp and
+ py-compile are installed in the aux-directory.
+ (handle_emacs_lisp): Likewise. Define elisp_comp.
+ * lib/am/lisp.am (.el.elc): Use elisp_comp.
+
2001-10-01 Akim Demaille <akim@epita.fr>
* lib/am/distdir.am (distcheck): Report the trailing files.
&am_error ("`lisp_LISP' defined but `AM_PATH_LISPDIR' not in `$configure_ac'")
if ! $seen_lispdir && &variable_defined ('lisp_LISP');
- &require_file_with_conf_line ('AM_PATH_LISPDIR', $FOREIGN, 'elisp-comp');
+ &require_conf_file_with_conf_line ('AM_PATH_LISPDIR',
+ $FOREIGN, 'elisp-comp');
+ &define_variable ('elisp_comp', $config_aux_dir . '/elisp-comp');
}
# Handle Python
&am_error ("`python_PYTHON' defined but `AM_PATH_PYTHON' not in `$configure_ac'")
if ! $seen_pythondir && &variable_defined ('python_PYTHON');
- &require_file_with_conf_line ('AM_PATH_PYTHON', $FOREIGN, 'py-compile');
+ &require_conf_file_with_conf_line ('AM_PATH_PYTHON',
+ $FOREIGN, 'py-compile');
&define_variable ('py_compile', $config_aux_dir . '/py-compile');
}
.el.elc:
@echo 'WARNING: Warnings can be ignored. :-)'
if test $(EMACS) != no; then \
- EMACS=$(EMACS) $(SHELL) $(srcdir)/elisp-comp $<; \
+ EMACS=$(EMACS) $(SHELL) $(elisp_comp) $<; \
else : ; fi
## ------------ ##