From a1c21f84001d0fcf1c41c78a11bdfe4693dc113e Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Wed, 15 Jun 2016 17:01:55 -0400 Subject: [PATCH] Fewer deps for 'make webdocs' from top level Previously it also built the MANPAGES target requiring asciidoc and libxml, before starting a 'make docs' in docsite. Also change the #! line in hacking/dump_playbook_attributes.py to not specify python2... yet. --- Makefile | 2 +- hacking/dump_playbook_attributes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 367987affc..e217d9ef6d 100644 --- a/Makefile +++ b/Makefile @@ -261,7 +261,7 @@ deb-src-upload: deb-src # for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory -webdocs: $(MANPAGES) +webdocs: (cd docsite/; make docs) docs: $(MANPAGES) diff --git a/hacking/dump_playbook_attributes.py b/hacking/dump_playbook_attributes.py index 88029cd24d..357fbfaec2 100755 --- a/hacking/dump_playbook_attributes.py +++ b/hacking/dump_playbook_attributes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python import optparse from jinja2 import Environment, FileSystemLoader