Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Elrod <rick@elrod.me>2021-04-30 23:23:41 +0300
committerGitHub <noreply@github.com>2021-04-30 23:23:41 +0300
commit38fb05102c918d75f685d85569a32ee74468232c (patch)
treeb4c35ff9125f5ea47dc4bcd5cc2092928e269e49 /Makefile
parent9bd70045c9628d78493dba0eac71571223ce8dda (diff)
Makefile: Allow one to specify python version (#74517)
Change: - Allow overriding python version as env var for Makefile - Including hacking directory in git export, for docs build Test Plan: - Tested as part of recent downstream work Co-authored-by: Yanis Guenane <yguenane@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aff3d894239..7fb44ba1e6c 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ else
ASCII2MAN = @echo "ERROR: rst2man from docutils command is not installed but is required to build $(MANPAGES)" && exit 1
endif
-PYTHON=python
+PYTHON ?= python
GENERATE_CLI = hacking/build-ansible.py generate-man
# fetch version from project release.py as single source-of-truth