Commit af207e2a authored by Manuel Grizonnet's avatar Manuel Grizonnet

ENH: change source file for standalone packages README to rst

parent c0a46285
......@@ -3,9 +3,9 @@ Installation
We provide different standalone binary packages for OTB-Applications:
- for Windows platform (7 or higher)
- for Windows platform (Seven or higher)
- for 64bit Linux distribution
- for 64 bits Linux distribution
- for MacOS X
......@@ -21,17 +21,17 @@ You can get latest binary packages from our `Download page <https://www.orfeo-to
Windows
-------
.. include:: Installation_Windows.txt
.. include:: Installation_Windows.rst
Linux x86_64
Linux
------------
.. include:: Installation_Linux.txt
.. include:: Installation_Linux.rst
MacOS X
-------
.. include:: Installation_Macx.txt
.. include:: Installation_Macos.rst
Other packages
--------------
......
README
OTB recipes to build standalone binary packages for Windows/Linux/Mac OS X
......@@ -22,11 +22,11 @@ macro(installer_files)
#configure README from rst docs
set(RSTDOC_DIR "${PACKAGE_OTB_SRC_DIR}/Documentation/Cookbook/rst")
if(APPLE)
set(README_FILE ${RSTDOC_DIR}/Installation_Macx.txt)
set(README_FILE ${RSTDOC_DIR}/Installation_Macos.rst)
elseif(LINUX) #not osx
set(README_FILE ${RSTDOC_DIR}/Installation_Linux.txt)
set(README_FILE ${RSTDOC_DIR}/Installation_Linux.rst)
elseif(WIN32) #windows
set(README_FILE ${RSTDOC_DIR}/Installation_Windows.txt)
set(README_FILE ${RSTDOC_DIR}/Installation_Windows.rst)
endif()
configure_file("${README_FILE}" ${CMAKE_BINARY_DIR}/README )
install(FILES ${CMAKE_BINARY_DIR}/README DESTINATION ${PKG_STAGE_DIR} )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment