diff options
author | Yasuhiro Kimura <yasu@utahime.org> | 2021-02-16 18:29:11 +0000 |
---|---|---|
committer | Daniel Ebdrup Jensen <debdrup@FreeBSD.org> | 2021-02-16 18:29:11 +0000 |
commit | 8750cad4505afa3e6a21d2b52d89a8f6ab58a131 (patch) | |
tree | 1f799d0dff2b575e59c00149323c1d0ae703ce01 /documentation/Makefile | |
parent | fd49e8d6346a693b45801a46fb52f832f398a775 (diff) | |
download | doc-8750cad4505afa3e6a21d2b52d89a8f6ab58a131.tar.gz doc-8750cad4505afa3e6a21d2b52d89a8f6ab58a131.zip |
Makefiles and FDP: Change python binary
Currently '/usr/local/bin/python3.7' is used as the value of
PYTHON_CMD. Right now this works because 3.7 is the default version of
Python 3 in the ports tree. However, at some point in the future, this
will be undoubtedly be changed.
It is also possible that users already might be building versions
newer than the default port/package, which needs to be an supported as
well.
In addition, the FDP recommends installing the 'python3' package. This
meta port/package depends on the default version of python, and
automatically creates a symlink to the default version.
With all this in mind, use '/usr/local/bin/python3' is used as the value
of PYTHON_CMD, since this means that the instructions will work
irrespective of which version is assigned.
Diffstat (limited to 'documentation/Makefile')
-rw-r--r-- | documentation/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index 3b5c1cfd65..4b594fcdca 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -15,7 +15,7 @@ MAINTAINER=carlavilla@FreeBSD.org -PYTHON_CMD = /usr/local/bin/python3.7 +PYTHON_CMD = /usr/local/bin/python3 HUGO_CMD = /usr/local/bin/hugo LANGUAGES = en,es,pt-br,de,ja,zh-cn,zh-tw,ru,el,hu,it,mn,nl,pl,fr |