summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJimmy Tang <jtang@tchpc.tcd.ie>2013-03-11 14:41:06 +0000
committerJimmy Tang <jtang@tchpc.tcd.ie>2013-03-11 15:31:07 +0000
commit8c6caa2762988eb7aa3b2549d98cb7a25dc2e5e3 (patch)
treeeb594f1479ace842b1f8d1694ad88678a2dbe5e4 /Makefile
parent4eaca08664201eb3cac27f0d0bf38c35eb29aad2 (diff)
downloadansible-8c6caa2762988eb7aa3b2549d98cb7a25dc2e5e3.tar.gz
Fix up other places in makefile to use PYTHON variable
Only the nosetests aren't using the PYTHON variable now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a66f5b1e85..3893b69332 100644
--- a/Makefile
+++ b/Makefile
@@ -172,16 +172,16 @@ deb: debian
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
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:
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:
mkdir -p docs/js
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