]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
bootstrap: fix race in temporary Makefile
authorPavel Raiskup <praiskup@redhat.com>
Thu, 24 Sep 2015 09:03:45 +0000 (11:03 +0200)
committerPavel Raiskup <praiskup@redhat.com>
Thu, 24 Sep 2015 09:12:43 +0000 (11:12 +0200)
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.

Makefile.am

index 13dfc63a669e6e0acb5f3b3a22c2f16fb9804a7f..e4d6074de7cc3cf2faa1209dac80ea9305ec9c8c 100644 (file)
@@ -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=:; \