summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2019-07-16 12:19:01 -0700
committerGitHub <noreply@github.com>2019-07-16 12:19:01 -0700
commit019d078a5a457823e8d445d4e949b5ed041e2609 (patch)
treea93e0b58128c324652cacea3231dadcaae1a5492 /Makefile
parent65e0f37fc05500dcd8f68b2e4a3294fb1db6849a (diff)
downloadansible-019d078a5a457823e8d445d4e949b5ed041e2609.tar.gz
Move common build code from _build_helpers (#55986)
We have some common code used by several docs scripts. Migrate that into the build-only shared code repository. * Move lib/ansible/utils/_build_helpers.py to the directory for common build code * Migrate docs/bin/dump_config.py to a build-ansible subcommand * Migrate dump_keywords to the build-ansible framework * Make the script more maintainable by using functions and good variable names * Port to Python3 idioms * Fix bug so that private attributes will be undocumented * Move generate_man to a build-ansible subcommand * Port plugin_formatter to a build-ansible subcommand * Rework command_plugins so that docs scripts can target Python-3.4+ and releng-only subcommands can use more recent versions of Python. The architecture is now that command_plugins/* need to be importable on Python-3.4. The init_parsers() method needs to run on Python-3.4. But the main() method can utilize features of more recent Python as long as it fits within those parameters. * Update docs build requirements Port the plugin_formatter to build-ansible framework
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e004d8d1a0..f5df989f6e 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ ASCII2MAN = @echo "ERROR: rst2man from docutils command is not installed but is
endif
PYTHON=python
-GENERATE_CLI = $(PYTHON) docs/bin/generate_man.py
+GENERATE_CLI = hacking/build-ansible.py generate-man
SITELIB = $(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")