Misc. improvements to docs build system
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 13 May 2015 18:11:03 +0000 (21:11 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 9 Jun 2015 12:53:49 +0000 (14:53 +0200)
commitf077ffa9c9cd6b2e25235372d77063ac70b24b62
treecf2407208c51eb29bd261f8ebe02c34ffbbc985c
parentdb97385f393ded39464920466f74b6587c824e7c
Misc. improvements to docs build system

- Get rid of GMX_BUILD_WEBPAGE.  It did not disable any user-visible
  detection, but only affected what build rules were generated, and none
  of those affected the default 'all' target.  Now the webpage target is
  always created, and any informative messages that were previously
  given during CMake time with GMX_BUILD_WEBPAGE=ON are now given when
  the user tries to build the target.
- For all the documentation custom targets, create a dummy target that
  gives a message to the user when building if the tools required to
  build that target are not available.
- Reduce the required dependencies for the 'webpage' target.  If some
  non-essential parts cannot be built, just give a message to the user
  and build the remaining parts with some broken links.

These should make the build system easier to document and to understand
from the user's perspective.

Change-Id: Ib65e3348b88b1e0461f1f69ba1218f09d376a6dc
docs/CMakeLists.txt
docs/dev-manual/tools.rst
docs/doxygen/CMakeLists.txt
docs/manual/CMakeLists.txt