Commit Graph

2 Commits

Author SHA1 Message Date
Pavel Grunt
6858eea801 syntax-check: Update gnufiles
Fix make check, otherwise it fails on
   GEN      public-submodule-commit
 Stopping at 'spice-common'; script returned non-zero status.
 maint.mk: found non-public submodule commit

Acked-by: Frediano Ziglio <fziglio@redhat.com>
2016-11-18 12:06:53 +00:00
Daniel P. Berrange
b5060ff813 Add a 'syntax-check' make target
The 'make syntax-check' target is used to perform various code
style sanity checks, as well as to detect certain trivial error
patterns. The target is placed in GNUmakefile, instead of Makefile.am
since it relies on GNU specific make extensions.

The actual GNUmakefile and maint.mk files are taken from the
GNULIB project, unchanged

The cfg.mk file is used to configure which of the syntax checks
are activated, to allow addition of new project specific syntax
checks, and to blacklist certain files which should not be checked

* .mailmap: Add mapping for various broken email addrs in
  commit log, to stop complaints about AUTHORS file missing
  entries
* GNUmakefile: define the 'syntax-check' rule
* maint.mk: definition of standard syntax checks
* cfg.mk: configuration for checks
2012-01-13 18:12:00 +02:00