doc: make sure docs have been generated when installing
authorAntonio Ospite <ospite@studenti.unina.it>
Wed, 28 Mar 2012 07:11:51 +0000 (09:11 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Wed, 28 Mar 2012 08:52:20 +0000 (10:52 +0200)
commitc4734c5b21355542c5718478f73ddf60ecf559fb
tree1dbfd6b8a52cfe9ab49b5fc278ceb58c72945a99
parenta35c8213c4b5e05e6279b1abee16ff3d151c7b77
doc: make sure docs have been generated when installing

This is done in three steps:

 - first a "custom install target" is created for each custom target
   which builds documentation;

 - then dependencies between those custom install targets and the
   correspondent "build" targets are added;

  - finally some code is added to ensure those "custom install targets"
    are called when the builtin install target is executed.
doc/CMakeLists.txt
doc/man/CMakeLists.txt