On 14 April 2012 20:17, Reuben Thomas <r...@sc3d.org> wrote: > On 14 April 2012 19:44, Bruno Haible <br...@clisp.org> wrote: >> Reuben Thomas wrote: >>> I see that gnulib has its own cfg.mk which is used, for example, to >>> skip some syntax-check checks on gnulib's own code. >>> ... >>> I can't see that gnulib's cfg.mk is mentioned by any module. >> >> Yes, >> $ ./gnulib-tool --find cfg.mk >> shows that cfg.mk is not contained in any module. This is because it >> describes syntax rules for the gnulib source code, not for the Zile >> or Hello source code. > > OK, I'm obviously misunderstanding how Zile escapes performing the > syntax checks on files in gnulib.
On further investigation, my question reduces to the following: what is the standard way to exclude gnulib files from inappropriate syntax-check tests? As far as I can see, copying parts of gnulib/cfg.mk into one's project's cfg.mk is the obvious way, but it's a bit surprising that something like this doesn't happen automatically, since other autotools integration is managed automatically. -- http://rrt.sc3d.org