Le mercredi 08 avril 2020 à 16:21 -0400, Alfred M. Szmidt a écrit : > I suggest you look at "make syntax-check" in say GNU coreutils. It > has a lot of nice syntactical checks for different constructs that > are > preferable in GNU projects. E.g, checking that you don't do > assignments in if statements, and what not. It seems that it comes from the maintainer-makefile gnulib module. This is very interesting, thank you.
> For copyright notice munging, I suggest GNU Emacs and using > copyright-update. This is exactly what I was looking for, and it was right there, in the emacs manual! I guess I will never finish learning emacs... Thank you for these two very useful pointers! So, to link back to the original question: the maintainer-makefile gnulib module provides a Makefile that will enforce a number of additional checks by calling "make syntax-check". An example of use for this module is demonstrated in the coreutils package. Vivien
