findutils-patches
[Top][All Lists]
Advanced

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

[PATCH 5/5] maint: avoid error from sc_prohibit_gnu_make_extensions


From: Bernhard Voelker
Subject: [PATCH 5/5] maint: avoid error from sc_prohibit_gnu_make_extensions
Date: Wed, 1 Jan 2020 21:50:56 +0100

Since last gnulib update, the above syntax-check rule fails:

  Error: doc/Makefile: $< in a non implicit rule
  find_mono.html: find.texi
  ...
  make: *** [maint.mk:439: sc_prohibit_gnu_make_extensions] Error 1

* doc/Makefile.am (find_mono.html): Avoid $< in plain rules.
(findutils.texi_html_node.tar.gz): Likewise.

See also: <https://lists.gnu.org/r/bison-patches/2019-05/msg00017.html>
---
 doc/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 0d407636..5b877fe3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -52,7 +52,7 @@ find.txt: find.texi $(srcdir)/version.texi $(find_TEXINFOS)
 find_mono.html: find.texi
        rm -rf $(@:.html=.htp)
        if $(MAKEINFOHTML) --no-split $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) 
-I $(srcdir) \
-        -o $(@:.html=.htp) $<; \
+        -o $(@:.html=.htp) find.texi; \
        then \
          rm -rf $@; \
          if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
@@ -70,7 +70,7 @@ find_mono.html: find.texi
 # by the maintainer, and we don't need to build the file
 # for "make all" or "make install" (or even "make check").
 findutils.texi_html_node.tar.gz: find.html
-       tar zcf $@ $<
+       tar zcf $@ find.html
 
 
 dblocation.texi: ../locate/dblocation.texi
-- 
2.24.1




reply via email to

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