build: require GNU make in order to run the maintainer checks
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 28 Jan 2012 09:05:18 +0000 (10:05 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jan 2012 20:51:51 +0000 (21:51 +0100)
commite508e09d3837c029daf8cd86d7f8925df7872389
treefae396a60aeb992a70e03fadc1346a945fc73e04
parent0da744996cbdf4eab047cd524d76b93d6a483d4a
build: require GNU make in order to run the maintainer checks

This is not a real regression in portability, since most maintainer
check rules already assumed GNU grep, and were anyway only meant to
run on the developers' systems (where we can safely assume the
presence of GNU make).

This change will allow us to take advantage, in future changes, of
more GNU make features, thus simplifying or optimizing some of our
maintainer rules.

* GNUmakefile: New, including 'Makefile' and 'syntax-checks.mk'.
* configure.ac (AC_CONFIG_LINKS): Link it in the builddir.
* Makefile.am (EXTRA_DIST): Distribute 'GNUmakefile' and
'syntax-checks.mk'.
Move all syntax-check rules and auxiliary variables into ...
* syntax-checks.mk: ... this new file, with some adjustments.
GNUmakefile [new file with mode: 0644]
Makefile.am
configure.ac
syntax-checks.mk [new file with mode: 0644]