[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: maintainer-makefile: catch uses of $< in non-implicit rules
From: |
Bruno Haible |
Subject: |
Re: maintainer-makefile: catch uses of $< in non-implicit rules |
Date: |
Tue, 25 Jun 2019 16:37:10 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-151-generic; KDE/5.18.0; x86_64; ; ) |
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
fix-attempt.diff
Description: Text Data
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Tim Rühsen, 2019/06/17
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Akim Demaille, 2019/06/17
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Tim Rühsen, 2019/06/17
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Akim Demaille, 2019/06/22
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Tim Rühsen, 2019/06/24
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Akim Demaille, 2019/06/24
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Tim Rühsen, 2019/06/25
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Tim Rühsen, 2019/06/25
- Re: maintainer-makefile: catch uses of $< in non-implicit rules,
Bruno Haible <=
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Tim Rühsen, 2019/06/25
- Re: maintainer-makefile: catch uses of $< in non-implicit rules, Tim Rühsen, 2019/06/25