]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: enforce preprocessor indentation
authorEric Blake <eblake@redhat.com>
Tue, 9 Mar 2010 21:22:14 +0000 (14:22 -0700)
committerJim Meyering <meyering@redhat.com>
Wed, 10 Mar 2010 17:00:26 +0000 (18:00 +0100)
commit89a08ba63a610a70de37be2c5b5f8a1c9fd10581
tree241fe6c36fc710cbb9f8214cf7a6bca6b8d43c87
parent12023373cdc771e5ca818f4c8f4aa8abe174871a
build: enforce preprocessor indentation

Since cppi is not part of Fedora Core 12, the check is conditional:
without cppi, running 'make syntax-check' merely warns:

$ make sc_preprocessor_indentation
preprocessor_indentation
maint.mk: skipping test sc_preprocessor_indentation: cppi not installed

* cfg.mk (sc_preprocessor_indentation): New syntax-check rule.
(preprocessor_exempt): New macro, with first exemption.
cfg.mk