Bruno Haible <br...@clisp.org> writes: >> ./.prev-version: No such file or directory >> sed: can't read ./cfg.mk: No such file or directory >> make all-recursive >> ./.prev-version: No such file or directory >> sed: can't read ./cfg.mk: No such file or directory > > This is a bug in gnulib-tool and the maintainer-makefile module.
I think it is actually only a maintainer-makefile bug, a cfg.mk file shouldn't be required to exist. It would be nice to keep the hard-coded exceptions in gnulib-tool to a minimum, so if possible I think we should fix the maintainer-makefile problems rather than working around them. First, the above output are warnings, not hard errors. So we could say that you should just ignore the messages. To really silence the output, the two problems above are: 1) That the file .prev-version is required. Jim, can't this be optional, and the file only required when the rules that use .prev-version are used? 2) That cfg.mk is passed to sed without first checking that it exists. Unless there are objections to fixing these problems, I can try to come up with two patches for them. /Simon