Skip to content

Commit

Permalink
install.rst - update $ to % in the example shell prompts (AcademySoft…
Browse files Browse the repository at this point in the history
…wareFoundation#1570)

Signed-off-by: ianianda <[email protected]>
  • Loading branch information
ianianda committed Sep 25, 2023
1 parent 3893e34 commit 159e571
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions website/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ RHEL/CentOS:

.. code-block::
$ sudo yum makecache
$ sudo yum install OpenEXR
% sudo yum makecache
% sudo yum install OpenEXR
Ubuntu:

.. code-block::
$ sudo apt-get update
$ sudo apt-get install openexr
% sudo apt-get update
% sudo apt-get install openexr
Beware that some distributions are out of date and only provide
distributions of outdated releases OpenEXR. We recommend against using
Expand All @@ -37,7 +37,7 @@ On macOS, install via `Homebrew <https://formulae.brew.sh/formula/openexr>`_:

.. code-block::
$ brew install openexr
% brew install openexr
We do not recommend installation via
`Macports <https://ports.macports.org/port/openexr>`_ because the
Expand Down Expand Up @@ -94,9 +94,9 @@ To build:

.. code-block::
$ cd $builddir
$ cmake $srcdir --install-prefix $installdir
$ cmake --build $builddir --target install --config Release
% cd $builddir
% cmake $srcdir --install-prefix $installdir
% cmake --build $builddir --target install --config Release
Note that the CMake configuration prefers to apply an out-of-tree
build process, since there may be multiple build configurations
Expand Down Expand Up @@ -125,7 +125,7 @@ can specify a local install directory to cmake via the

.. code-block::
$ cmake .. -DCMAKE_INSTALL_PREFIX=$openexr_install_directory
% cmake .. -DCMAKE_INSTALL_PREFIX=$openexr_install_directory
Library Names
-------------
Expand Down Expand Up @@ -174,23 +174,23 @@ installation of Imath, add the Imath directory to the

.. code-block::
$ mkdir $build_directory
$ cd $build_directory
$ cmake -DCMAKE_PREFIX_PATH=$imath_install_directory \
% mkdir $build_directory
% cd $build_directory
% cmake -DCMAKE_PREFIX_PATH=$imath_install_directory \
-DCMAKE_INSTALL_PREFIX=$openexr_install_destination \
$openexr_source_directory
$ cmake --build . --target install --config Release
% cmake --build . --target install --config Release
Alternatively, you can specify the ``Imath_DIR`` variable:

.. code-block::
$ mkdir $build_directory
$ cd $build_directory
$ cmake -DImath_DIR=$imath_config_directory \
% mkdir $build_directory
% cd $build_directory
% cmake -DImath_DIR=$imath_config_directory \
-DCMAKE_INSTALL_PREFIX=$openexr_install_destination \
$openexr_source_directory
$ cmake --build . --target install --config Release
% cmake --build . --target install --config Release
Note that ``Imath_DIR`` should point to the directory that includes
the ``ImathConfig.cmake`` file, which is typically the
Expand Down Expand Up @@ -256,7 +256,7 @@ variables, run:

.. code-block::
$ cmake -LAH $openexr_source_directory
% cmake -LAH $openexr_source_directory
You can customize these options three ways:

Expand Down Expand Up @@ -501,5 +501,5 @@ initial generation:

.. code-block::
$ cmake -G “Ninja” ..
% cmake -G “Ninja” ..

0 comments on commit 159e571

Please sign in to comment.