commit bc5f9d5ede084192f79a4cceb38ceb06ecbad4ec parent 51f57fdd1fd137b594c28651a9a2d6da27f8d135 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Fri, 29 Apr 2016 09:26:21 +0200 Update the install directory of the documentation Diffstat:
| M | README.md | | | 3 | +-- |
| M | cmake/CMakeLists.txt | | | 8 | ++++---- |
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md @@ -22,8 +22,7 @@ on the First ensure that CMake is installed on your system. Then install the RCMake package as well as all the aforementioned prerequisites. Then generate the project from the `cmake/CMakeLists.txt` file by appending to the -`CMAKE_PREFIX_PATH` variable the install directories of its dependencies and -the one of the RCMake package. +`CMAKE_PREFIX_PATH` variable the install directories of its dependencies. ## How to use diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -67,7 +67,7 @@ set(SCHIFF_FILES_INC schiff_mesh.h schiff_optical_properties.h schiff_streamline.h) -set(SCHIFF_FILES_DOC COPYING) +set(SCHIFF_FILES_DOC COPYING README.md) set(SCHIFF_FILES_MAN1 schiff.1) set(SCHIFF_FILES_MAN5 schiff-geometry.5 schiff-output.5) @@ -125,8 +125,8 @@ install(TARGETS schiff ARCHIVE DESTINATION bin LIBRARY DESTINATION lib RUNTIME DESTINATION bin) -install(FILES ${SCHIFF_FILES_DOC} DESTINATION doc/schiff) -install(FILES ${SCHIFF_FILES_MAN1} DESTINATION doc/man1) -install(FILES ${SCHIFF_FILES_MAN5} DESTINATION doc/man5) +install(FILES ${SCHIFF_FILES_DOC} DESTINATION share/doc/schiff) +install(FILES ${SCHIFF_FILES_MAN1} DESTINATION share/man/man1) +install(FILES ${SCHIFF_FILES_MAN5} DESTINATION share/man/man5) rcmake_install_runtime_libraries(schiff)