bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] gettext-0.20 has parallel make install issues


From: Miguel
Subject: Re: [bug-gettext] gettext-0.20 has parallel make install issues
Date: Mon, 13 May 2019 15:29:26 +0200

Bruno Haible <address@hidden>:
> Hi Miguel,

Hi Bruno,

> You can stop searching. I just see that Paul Smith has added a new
> syntax to GNU make, that does exactly what we need:
> https://lists.gnu.org/archive/html/bug-make/2019-05/msg00023.html

Yes, I agree that it is a great addition to GNU make, but...

> We now only need to
>   1. wait for the next GNU make release,
>   2. find a way to use this new syntax with GNU make, while at the
> same time not killing the ability to use the Makefile with non-GNU
> makes.

The attached patch is more explicit (aka verbose) but it should keep the
compatibility with other make implementations.

It provides expected behaviour for "typical" make use cases (rm -f
textstyle/version.h && make textstyle/version.h do work as expected)
and explicitly named rules for the tasks involved. I've addressed the
order of the files, and the new rules ensure that the timestamps have
the exact order needed though.

The extra make calls could be an issue if they are performed often, but
actually are maintainer tasks with the exception of
prepare-libtextstyle-headers, that is performed after a mostly clean to
keep the object files and only recompile the ones including the header,
I guess.

What do you think?

Happy hacking,
Miguel

Attachment: 0001-build-Fix-parallel-compilation.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]