adding doc to default if CREATEDOC is set
only add instalation dir if we are creating doc
no more different cmake parameter is needed
Merge pull request #313 from hefee/doc2default

creating doc to default target