Skip to content

Commit

Permalink
Makefile: Allow one to specify python version (ansible#74517)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
relrod and Spredzy authored Apr 30, 2021
1 parent 9bd7004 commit 38fb051
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.github/ export-ignore
hacking/ export-ignore
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38fb051

Please sign in to comment.