Skip to content

Commit ccc94f6

Browse files
authored
install.rst: fix links to BUILDING.md and improve formatting (#8511)
1 parent 2c14f4c commit ccc94f6

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

doc/rst/source/install.rst

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Ubuntu/Debian
234234

235235
**NOTE:** The Ubuntu/Debian official repositories may provide old GMT
236236
versions. If you want the latest GMT 6.x release, your best bet then is
237-
to `build the latest release from source <BUILDING.md>`__.
237+
to `build the latest release from source <https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md>`__.
238238

239239
Install GMT via:
240240

@@ -270,7 +270,7 @@ Gentoo
270270
~~~~~~
271271

272272
**NOTE:** This may provide old GMT versions. Consider `building from
273-
source <BUILDING.md>`__.
273+
source <https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md>`__.
274274

275275
Install GMT via:
276276

@@ -339,7 +339,7 @@ GMT may be installed on FreeBSD using Ports or from source.
339339

340340
**NOTE:** The Ports Collection may provide old GMT versions. If you want
341341
the latest GMT release, consider `building the latest release from
342-
source <BUILDING.md>`__.
342+
source <https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md>`__.
343343

344344
Install via Ports
345345
~~~~~~~~~~~~~~~~~
@@ -349,31 +349,22 @@ application software that has been ported to FreeBSD.
349349

350350
**Precompiled**
351351

352-
Install precompiled gmt binaries with
353-
354-
::
352+
Install precompiled gmt binaries with::
355353

356354
pkg install gmt
357355

358356
**Compile from Ports**
359357

360-
If not done already, set up the **Ports Collection** See
361-
https://docs.freebsd.org/en/books/handbook/ports/#ports-using:
362-
363-
::
358+
If not done already, set up the `Ports Collection <https://docs.freebsd.org/en/books/handbook/ports/#ports-using>`__::
364359

365360
portsnap fetch
366361
portsnap extract
367362

368-
If already set up, make sure you’re up-to-date:
369-
370-
::
363+
If already set up, make sure you’re up-to-date::
371364

372365
portsnap fetch update
373366

374-
Then change into directory ``/usr/ports/graphics/gmt`` and build:
375-
376-
::
367+
Then change into directory ``/usr/ports/graphics/gmt`` and build::
377368

378369
make install clean
379370

0 commit comments

Comments
 (0)