Unless they fail, in which case print the captured log.
SCRIPTLINKS += aspell-hack emerge-hack
%.elc: %.el $$(foreach e, $$($$*_DEPS), $$(DEP_$$e))
SCRIPTLINKS += aspell-hack emerge-hack
%.elc: %.el $$(foreach e, $$($$*_DEPS), $$(DEP_$$e))
- $(call v_tag,EMACS)$(EMACS) -L el/ -L $(EMACSLIB) \
+ $(call v_tag,EMACS)if ! $(EMACS) >$*.build-log 2>&1 \
+ -L el/ -L $(EMACSLIB) \
- --eval '(byte-compile-file "$<")'
+ --eval '(byte-compile-file "$<")'; then \
+ cat $*.build-log; exit 2; \
+ fi
LOCAL_ELISP = $(filter $(notdir $(wildcard el/*.el)), \
$(addsuffix .el, $(ELISP)))
LOCAL_ELISP = $(filter $(notdir $(wildcard el/*.el)), \
$(addsuffix .el, $(ELISP)))