Working on makefile

This commit is contained in:
Michael DeHaan
2012-10-10 08:03:52 -04:00
parent de912381ac
commit d5bb7258c8
22 changed files with 500 additions and 378 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/make
SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
FORMATTER=../ansible/hacking/module_formatter.py
FORMATTER=../hacking/module_formatter.py
all: clean docs
@@ -25,7 +25,7 @@ clean:
.PHONEY: docs clean
modules: $(FORMATTER) ../ansible/hacking/templates/rst.j2
$(FORMATTER) -t rst --template-dir=../ansible/hacking/templates --module-dir=../ansible/library -o rst/modules/ --includes-file=rst/modules/_list.rst
modules: $(FORMATTER) ../hacking/templates/rst.j2
$(FORMATTER) -t rst --template-dir=../hacking/templates --module-dir=../library -o rst/modules/ --includes-file=rst/modules/_list.rst