On Fri, Jan 25, 2008 at 11:17:44PM +0100, Jim Meyering wrote:
Add framework for code style- and syntax-checking rules.
Almost all tests are initially disabled via the list in Makefile.cfg.
* Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free.
Omit names of files that automake includes automatically.
* .x-sc_avoid_if_before_free: New file.
* build-aux/vc-list-files: Likewise.
* build-aux/find-unnecessary-if-before-free: Likewise.
* GNUmakefile, Makefile.cfg, Makefile.maint: New files.
Signed-off-by: Jim Meyering <meyering(a)redhat.com>
---
.x-sc_avoid_if_before_free | 4 +
GNUmakefile | 58 ++++
Makefile.am | 8 +-
Makefile.cfg | 62 ++++
Makefile.maint | 510 +++++++++++++++++++++++++++++
build-aux/find-unnecessary-if-before-free | 41 +++
build-aux/vc-list-files | 50 +++
The build-aux directory currently only contains auto-generated files.
If its not too much pain, can we put these 2 helpers into scripts/ where
I've got a couple of other build/test related helper scripts.
Can't really comment on the actaul contents of Makefile.maint - too much
scary shell code to review, but if it is working for coreutils I'm happy
with it. Particularly since this is not something that needs to be explicitly
invoked by developers.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|