bug-gnulib
[Top][All Lists]
Advanced

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

Re: maintainer-makefile: catch uses of $< in non-implicit rules


From: Tim Rühsen
Subject: Re: maintainer-makefile: catch uses of $< in non-implicit rules
Date: Tue, 25 Jun 2019 16:39:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1

Hi Bruno,

sorry, it doesn't.

On 6/25/19 4:37 PM, Bruno Haible wrote:
> Hi Tim,
> 
>> the command expands to
>>
>> if gawk --version | grep GNU >/dev/null 2>&1; then              \
>>   (cd . && autoconf --trace AC_CONFIG_FILES:'$1') |     \
>>     tr ' ' '\n' |                                               \
>>     /usr/bin/sed -ne '/Makefile/{s/\.in$//;p;}' |                       \
>>     while read m; do                                            \
>>       make -qp -f $m .DUMMY-TARGET 2>/dev/null |                \
>>         gawk -v file=$m -e 'BEGIN { RS = "\n\n"; in_rules = 0; } /^#
>> Files/ { in_rules = 1; } /\$</ && in_rules && $0 !~ /^(.*\n)*
>> \.\w+(\.\w+)?:/ { print "Error: " file ": $< in a non implicit rule\n"
> 
> Does the attached patch fix it?
> 
> Bruno
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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