[Top][All Lists]

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

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

From: Bruno Haible
Subject: Re: [bug-gettext] gettext-0.20 has parallel make install issues
Date: Sun, 19 May 2019 17:10:50 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; )

I wrote:
> Paul Smith has added a new syntax to GNU make

The commit is:

> 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.

Part 2 is not hard: Add to $(builddir)/gettext-tools/src/ this GNUmakefile:

======================== GNUmakefile ========================
Makefile-for-gmake : Makefile
ifeq ($(filter grouped-target, $(.FEATURES)),)
        cat < Makefile > Makefile-for-gmake
        sed -e 's/^\([a-zA-Z0-9/_.-][a-zA-Z0-9/_.-]* 
[a-zA-Z0-9/_.-][a-zA-Z0-9/_.-]* [^:]*\):/\1\&:/' < Makefile > Makefile-for-gmake

-include Makefile-for-gmake

Non-GNU make will ignore the GNUmakefile.
GNU make will create the Makefile-for-gmake and then use it transparently.


reply via email to

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