Install contents in etc/ on package install (i.e., when we run cmake --install or make install after a successful build).
Also modify the existing logic to copy instead of symlink etc/ contents to binary/build directory, as disk usage of contents is actually quite small, so there is really very little difference whether the files are symbolically linked or installed.
Relates to MetOffice/mo-bundle#221, (which adds the functionality to install JEDI applications to an alternate location after a successful build).
Install contents in
etc/
on package install (i.e., when we runcmake --install
ormake install
after a successful build).Also modify the existing logic to copy instead of symlink
etc/
contents to binary/build directory, as disk usage of contents is actually quite small, so there is really very little difference whether the files are symbolically linked or installed.Relates to MetOffice/mo-bundle#221, (which adds the functionality to install JEDI applications to an alternate location after a successful build).