Hi Akim, On 6/24/19 5:56 PM, Akim Demaille wrote: > Hi Tim, > >> Le 24 juin 2019 à 11:42, Tim Rühsen a écrit : >> >> Hi Akim, >> >> Your proposal works here on Debian after I switched to mawk via >> 'update-alternatives --config awk', selecting mawk. It detects two >> occurrences of $< in our (project) Makefiles correctly. >> >> Switching back to the old maint.mk, brings back the error message about >> '-e'. I just did this to make sure. > > Perfect, thanks. Installed. I updated gnulib to your commit (47405621b3066c035b4b98d2db934d550aaed1ad) and - sorry to say - two CI runners broke. That are Arch Linux and Fedora 30. Output on Fedora 30 from 'make syntax-check': prohibit_gnu_make_extensions Error: lib/Makefile: $< in a non implicit rule # makefile (from 'lib/Makefile', line 1310) NEXT_STRING_H = # makefile (from 'lib/Makefile', line 1409) REPLACE_LOCALECONV = 0 # makefile (from 'lib/Makefile', line 1231) LTLIBICONV = # makefile (from 'lib/Makefile', line 476) ETAGS = etags # environment halt = # makefile (from 'lib/Makefile', line 1450) REPLACE_PTSNAME = 0 # automatic ?F = $(notdir $?) # makefile (from 'lib/Makefile', line 784) GNULIB_STRTOD = 0 # makefile (from 'lib/Makefile', line 1410) REPLACE_LOCALTIME = 0 ... (many more lines like these) ... MAKE_VERSION := 4.2.1 # makefile (from 'lib/Makefile', line 540) GNULIB_ATOLL = 0 # variable set hash-table stats: # Load=1368/2048=67%, Rehash=1, Collisions=6067/4772=127% Error: lib/Makefile: $< in a non implicit rule %.lo: %.c # recipe to execute (from 'lib/Makefile', line 2150): $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ $(am__mv) $$depbase.Tpo $$depbase.Plo Error: lib/Makefile: $< in a non implicit rule %.o: %.c # recipe to execute (from 'lib/Makefile', line 2134): $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ $(am__mv) $$depbase.Tpo $$depbase.Po Error: lib/Makefile: $< in a non implicit rule %.obj: %.c # recipe to execute (from 'lib/Makefile', line 2142): $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ $(am__mv) $$depbase.Tpo $$depbase.Po Error: lib/Makefile: $< in a non implicit rule (%): % # recipe to execute (built-in): $(AR) $(ARFLAGS) $@ $< Error: lib/Makefile: $< in a non implicit rule %.out: % # recipe to execute (built-in): @rm -f $@ cp $< $@ Error: lib/Makefile: $< in a non implicit rule %:: s.% # recipe to execute (built-in): $(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $< Error: lib/Makefile: $< in a non implicit rule %:: SCCS/s.% # recipe to execute (built-in): $(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $< make: *** [maint.mk:439: sc_prohibit_gnu_make_extensions] Error 1 [root@61f4306ca485 wget2]# cd gnulib [root@61f4306ca485 gnulib]# git branch * (HEAD detached at 47405621b) master [root@61f4306ca485 gnulib]# git log commit 47405621b3066c035b4b98d2db934d550aaed1ad (HEAD, origin/master, origin/HEAD, master) Author: Akim Demaille Date: Tue Jun 25 08:11:34 2019 +0200 [root@61f4306ca485 gnulib]# awk --version GNU Awk 4.2.1, API: 2.0 (GNU MPFR 3.1.6-p2, GNU MP 6.1.2) Regards, Tim