bug-gnulib
[Top][All Lists]
Advanced

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

Re: makefile rules


From: Paul Eggert
Subject: Re: makefile rules
Date: Thu, 23 Dec 2021 18:06:13 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

On 12/22/21 11:02, Paul Eggert wrote:
The @NMD@ business means we need recipe lines that say "$(AM_V_GEN)" and nothing else. However, this should be portable

Although it should be portable according to POSIX, it turns out that AIX 7.2 'make' warns about it a lot, which is a significant annoyance on that platform. (AIX is still alive and kicking, by the way; IBM released AIX 7.3 recently.)

I wrote a set of patches to address this issue, as well as some of the "let's make this less error-prone" and "let's cut down on '&& \' to help debugging" issues I mentioned earlier this week. This set of patches mostly does not use the sed 'w $@-t' trick I suggested (which Bruno was dubious about); it uses that approach only as an optimization in one macro, which is used only when the existing Gnulib code already had a special-case optimization involving 'cat'.

This patch set also removes a 'chmod a=r' that is left over from the old style of making generated files readonly.

I haven't installed this patchset into Gnulib, as I want to test it on a few more platforms and also would like to hear comments.

Attachment: 0001-sed-header-new-module.patch
Description: Text Data

Attachment: 0004-maint-avoid-empty-lines-in-recipes.patch
Description: Text Data

Attachment: 0003-maint-tight-scope-mk-need-not-be-read-only.patch
Description: Text Data

Attachment: 0002-maint-break-out-mv-t.patch
Description: Text Data


reply via email to

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