mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix up other places in makefile to use PYTHON variable
Only the nosetests aren't using the PYTHON variable now.
This commit is contained in:
parent
4eaca08664
commit
8c6caa2762
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -172,16 +172,16 @@ deb: debian
|
||||||
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
|
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
|
||||||
|
|
||||||
modulepages:
|
modulepages:
|
||||||
PYTHONPATH=./lib hacking/module_formatter.py -A $(VERSION) -t man -o docs/man/man3/ --module-dir=library --template-dir=hacking/templates
|
PYTHONPATH=./lib $(PYTHON) hacking/module_formatter.py -A $(VERSION) -t man -o docs/man/man3/ --module-dir=library --template-dir=hacking/templates
|
||||||
|
|
||||||
modulejson:
|
modulejson:
|
||||||
mkdir -p docs/json
|
mkdir -p docs/json
|
||||||
PYTHONPATH=./lib hacking/module_formatter.py -A $(VERSION) -t json -o docs/json --module-dir=library --template-dir=hacking/templates
|
PYTHONPATH=./lib $(PYTHON) hacking/module_formatter.py -A $(VERSION) -t json -o docs/json --module-dir=library --template-dir=hacking/templates
|
||||||
|
|
||||||
modulejs:
|
modulejs:
|
||||||
mkdir -p docs/js
|
mkdir -p docs/js
|
||||||
make modulejson
|
make modulejson
|
||||||
PYTHONPATH=./lib hacking/module_formatter.py -A $(VERSION) -t js -o docs/js --module-dir=docs/json --template-dir=hacking/templates
|
PYTHONPATH=./lib $(PYTHON) hacking/module_formatter.py -A $(VERSION) -t js -o docs/js --module-dir=docs/json --template-dir=hacking/templates
|
||||||
|
|
||||||
# because this requires Sphinx it is not run as part of every build, those building the RPM and so on can ignore this
|
# because this requires Sphinx it is not run as part of every build, those building the RPM and so on can ignore this
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue