Skip to content

Commit a7ea375

Browse files
Docs/installation: Fix code indentation
Update FreeBSD line to include CXX as well as CC. Drop unneeded todo.
1 parent 0aef782 commit a7ea375

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/source/getting_started/installation.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,26 +125,24 @@ or MacPorts:
125125

126126
.. code:: console
127127
128-
sudo port install bison flex readline gawk libffi graphviz \
128+
sudo port install bison flex readline gawk libffi graphviz \
129129
pkgconfig python36 boost zlib tcl
130130
131-
.. todo:: Is there a console alternative that has the # prefix instead of $?
132-
133131
On FreeBSD use the following command to install all prerequisites:
134132

135133
.. code:: console
136134
137-
pkg install bison flex readline gawk libffi graphviz \
135+
pkg install bison flex readline gawk libffi graphviz \
138136
pkgconf python3 python36 tcl-wrapper boost-libs
139137
140138
.. note:: On FreeBSD system use gmake instead of make. To run tests use:
141-
``MAKE=gmake CC=cc gmake test``
139+
``MAKE=gmake CXX=cxx CC=cc gmake test``
142140

143141
For Cygwin use the following command to install all prerequisites, or select these additional packages:
144142

145143
.. code::
146144
147-
setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel,boost-build,zlib-devel
145+
setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel,boost-build,zlib-devel
148146
149147
Build configuration
150148
^^^^^^^^^^^^^^^^^^^
@@ -210,8 +208,8 @@ To use a separate (out-of-tree) build directory, provide a path to the Makefile.
210208

211209
.. code:: console
212210
213-
mkdir build; cd build
214-
make -f ../Makefile
211+
mkdir build; cd build
212+
make -f ../Makefile
215213
216214
Out-of-tree builds require a clean source tree.
217215

0 commit comments

Comments
 (0)