From: Pavel Raiskup Date: Thu, 24 Sep 2015 09:03:45 +0000 (+0200) Subject: bootstrap: fix race in temporary Makefile X-Git-Tag: v2.4.7~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de7b2cb2b72f98329b231ceab2e98f21e8ddaa22;p=thirdparty%2Flibtool.git bootstrap: fix race in temporary Makefile Target 'bootstrap-deps' sometimes rebuilt $(bootstrap_files) a bit earlier than the cleanup target 'bootstrap-deps-prep' was invoked. As a result, some of $(bootstrap_files) were missing. * Makefile.am (bootstrap-deps): Rebuild $(bootstrap_files) after bootstrap-deps-prep dependency. --- diff --git a/Makefile.am b/Makefile.am index 13dfc63a6..e4d6074de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -207,7 +207,9 @@ bootstrap_files = \ $(ltversion_m4) .PHONY: bootstrap-deps bootstrap-deps-prep -bootstrap-deps: bootstrap-deps-prep $(bootstrap_files) +bootstrap-deps: bootstrap-deps-prep + $(MAKE) $(bootstrap_files) + bootstrap-deps-prep: ## The following variables are substituted by 'bootstrap-dep-preps' @exit_cmd=:; \