Run include order check in doc-check
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 12 Sep 2014 04:28:48 +0000 (07:28 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Fri, 12 Sep 2014 04:31:37 +0000 (07:31 +0300)
commit3e079803eb7a3a03b64fa0e67f1b29f44b9502db
treec69d6b02946777185e28b0b28d3f6edbc398b49a
parentf1289eb087bbe1c64d6a9da7ae4cf27dcb0a8055
Run include order check in doc-check

Now the doc-check target also checks that all files conform to the
include ordering produced by the include sorter.

Add support into the include sorter for only checking the ordering
without changing anything, and partially improve things such that the
full contents of the file are no longer required for some parts of the
checking.  There seems to be no performance impact for now from storing
all the file contents in memory, so did not go through this, but the
partial changes also improve readability of the code.
Add support to gmxtree for loading the git attributes, to know which
files not to check for include ordering.

Change-Id: I919850dab2dfa742f9fb5b216cc163bc118082cc
docs/doxygen/doxygen-check.py
docs/doxygen/gmxtree.py
docs/doxygen/includesorter.py