Fix build of share/template when installed
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 1 Feb 2014 18:08:09 +0000 (20:08 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 6 Feb 2014 18:13:40 +0000 (19:13 +0100)
commit97bdc26e50b6a8e64a3bbb3f2901f9fc24286cf9
tree2b6369686b6b93d044e9f4470d73b5b814e4960e
parentb49046441c6cc6b41cee11ca9c7b9325381891b5
Fix build of share/template when installed

It is now possible to build the analysis tool template using the
Makefile.pkg and the CMakeLists.txt that are installed with it, at least
under some conditions.  FindGROMACS.cmake could probably be improved
further by using gromacs/version.h to detect the version for those
installations where it is present (4.6 and up); the current list of
functions is confusing (init_domdec_vsites, for example, already appears
in 4.6, but causes the detected version to be set to 5.0), and requires
extra maintenance for each release.

Remove obsolete Template.mak, which was used by autoconf to generate an
installed Makefile.

Change-Id: Ibcaa792b721db7fc9729710e36ace29bddbb82c3
CMakeLists.txt
share/template/CMakeLists.txt.template
share/template/Makefile.pkg
share/template/Template.mak [deleted file]
share/template/cmake/FindGROMACS.cmakein