提交 4eb80222 编写于 作者: E Eric Blake

build: automate the rerun of autogen.sh

Automate the reuse of autogen.sh, rather than just erroring out.

* cfg.mk (_update_required): Run autogen.sh, rather than just
warning about it.
(_autogen): New target.
上级 062b0aa3
......@@ -308,9 +308,14 @@ ifeq (0,$(MAKELEVEL))
stamp="$$($(_submodule_hash) $(_curr_status) 2>/dev/null)"; \
test "$$stamp" = "$$actual"; echo $$?)
ifeq (1,$(_update_required))
$(error gnulib update required; run ./autogen.sh first)
$(info INFO: gnulib update required; running ./autogen.sh first)
Makefile: _autogen
endif
endif
.PHONY: _autogen
_autogen:
$(srcdir)/autogen.sh
# Exempt @...@ uses of these symbols.
_makefile_at_at_check_exceptions = ' && !/(SCHEMA|SYSCONF)DIR/'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册