Fix tarball and install, particularly for INSTALL
authorMark Abraham <mark.j.abraham@gmail.com>
Sat, 5 Jul 2014 12:24:28 +0000 (14:24 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 7 Jul 2014 22:45:07 +0000 (00:45 +0200)
commit4b3f691f3d02ae19957c4e015d7ea6376b69a2aa
tree1a2fdf77fc25aab21692c0de519cb7fc597c7123
parent7e97b8c753fe49eaaf8db4cb708cf2bf64bfd842
Fix tarball and install, particularly for INSTALL

Getting the INSTALL file generated from the markdown, into the tarball
via CPack and not otherwise installed is a bit tricky. I did this
manually for 5.0, but this automates things. CPack source archives use
a mechanism that acts on whole directories. So we put INSTALL into its
own output directory (as we do for generated HTML), and the
directory-globbing mechanism takes care of it fine. Added some
documentation for why we need to do this.

Added more CPack-time checks that the tarball will be complete.

Prevented installation of .gitattributes.

Change-Id: I77c645faf7b292a085165bdd1598741dae6972a5
CMakeLists.txt
CPackInit.cmake
install-guide/CMakeLists.txt