diff options
Diffstat (limited to 'docs/docsite/Makefile')
-rw-r--r-- | docs/docsite/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile index 78b3616565..84625869a5 100644 --- a/docs/docsite/Makefile +++ b/docs/docsite/Makefile @@ -1,4 +1,4 @@ -SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") +SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"): FORMATTER=../../hacking/module_formatter.py DUMPER=../../hacking/dump_playbook_attributes.py ifeq ($(shell echo $(OS) | egrep -c 'Darwin|FreeBSD|OpenBSD|DragonFly'),1) @@ -7,22 +7,16 @@ else CPUS := $(shell nproc) endif -all: clean docs +all: docs -docs: clean directives modules htmldocs - -(cp *.ico htmlout/) - -(cp *.jpg htmlout/) - -(cp *.png htmlout/) - -variables: - (mkdir -p htmlout/) - dot variables.dot -Tpng -o htmlout/variables.png +docs: clean htmldocs htmldocs: directives modules staticmin CPUS=$(CPUS) $(MAKE) -f Makefile.sphinx html -webdocs: htmldocs +webdocs: docs +#TODO: leaving htmlout removal for those having older versions, should eventually be removed also clean: -rm -rf htmlout -rm -rf _build |