From owner-dev-commits-doc-all@freebsd.org Tue Feb 16 18:49:53 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 206AB543B65 for ; Tue, 16 Feb 2021 18:49:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dg94x0V0Zz4t9X; Tue, 16 Feb 2021 18:49:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EDE0616418; Tue, 16 Feb 2021 18:49:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 11GInqYC021239; Tue, 16 Feb 2021 18:49:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 11GInqKx021238; Tue, 16 Feb 2021 18:49:52 GMT (envelope-from git) Date: Tue, 16 Feb 2021 18:49:52 GMT Message-Id: <202102161849.11GInqKx021238@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Daniel Ebdrup Jensen Subject: git: 8750cad450 - main - Makefiles and FDP: Change python binary MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: debdrup X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8750cad4505afa3e6a21d2b52d89a8f6ab58a131 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 18:49:53 -0000 The branch main has been updated by debdrup: URL: https://cgit.FreeBSD.org/doc/commit/?id=8750cad4505afa3e6a21d2b52d89a8f6ab58a131 commit 8750cad4505afa3e6a21d2b52d89a8f6ab58a131 Author: Yasuhiro Kimura AuthorDate: 2021-02-16 18:29:11 +0000 Commit: Daniel Ebdrup Jensen CommitDate: 2021-02-16 18:29:11 +0000 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. --- documentation/Makefile | 2 +- documentation/content/en/books/fdp-primer/doc-build/chapter.adoc | 4 ++-- website/Makefile | 2 +- 3 files changed, 4 insertions(+), 4 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 diff --git a/documentation/content/en/books/fdp-primer/doc-build/chapter.adoc b/documentation/content/en/books/fdp-primer/doc-build/chapter.adoc index 1d938d89c6..81aaa9be2d 100644 --- a/documentation/content/en/books/fdp-primer/doc-build/chapter.adoc +++ b/documentation/content/en/books/fdp-primer/doc-build/chapter.adoc @@ -129,7 +129,7 @@ This [.filename]#Makefile# takes the following form: 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 <.> @@ -195,7 +195,7 @@ This [.filename]#Makefile# takes the form of: MAINTAINER=carlavilla@FreeBSD.org <.> -PYTHON_CMD = /usr/local/bin/python3.7 <.> +PYTHON_CMD = /usr/local/bin/python3 <.> HUGO_CMD = /usr/local/bin/hugo <.> .ORDER: all run<.> diff --git a/website/Makefile b/website/Makefile index 2294db8838..4b32bf76d7 100644 --- a/website/Makefile +++ b/website/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 .ifndef HOSTNAME