tags 1074711 patch
thanks

Hi.

The attached patch works for me.
It just serializes things a little bit.

The problem is that the author wrote this:

foo: bar1 bar2 bar3

with the idea that bar1 would be done first, then bar2 and then bar3,
but Makefiles do not really work that way.

For the long explanation:

https://trofi.github.io/posts/238-new-make-shuffle-mode.html

(that's the post where the author explains make --shuffle)

Thanks.
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -11,9 +11,15 @@ build: build-local build-recursive
 
 build-local::
 
-install: install-auto install-local install-recursive
+install:
+       $(MAKE) install-auto
+       $(MAKE) install-local
+       $(MAKE) install-recursive
 
-install-auto: $(outdir) install-auto-dirs install-auto-files 
install-auto-files-exec
+install-auto: $(outdir)
+       $(MAKE) install-auto-dirs
+       $(MAKE) install-auto-files
+       $(MAKE) install-auto-files-exec
 
 install-auto-dirs:
        $(call check_destdir)

Reply via email to