Improve build system for Sphinx
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 7 May 2015 03:59:26 +0000 (06:59 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 10 May 2015 03:09:43 +0000 (05:09 +0200)
commit63ff382fc1935676e50a4700cff1bdf1df3526a8
tree6b72fddbe8c15cee65527c9964fe11f76135d203
parent39d7dc7f8b175dcdeb919f0831f1d09f3be742ca
Improve build system for Sphinx

If one switches between various commits that add .rst files to the
documentation, the old ones get left in the sphinx-input/ directory in
the build tree and generate spurious warnings when building the
documentation after switching to a commit where the file no longer
exists.

Make CMake remove the obsolete files.  There are still issues if someone
removes or renames a 'gmx' subcommand, but those cases should be rarer
than reorganizing or adding to the manually maintained .rst files.

Use a more reasonable logic for REGRESSIONTEST_MD5SUM.

Change-Id: If3fcef162af1936217ee36238aa1876a110473be
docs/CMakeLists.txt