summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTomi Juvonen <tomi.juvonen@nokia.com>2015-09-10 11:28:53 +0300
committerTomi Juvonen <tomi.juvonen@nokia.com>2015-09-21 14:02:04 +0300
commit4f5c6554aa85e3516315828241270be9447f7a3e (patch)
treee6dae0381ea3bda02cd934cc00b6f70bf3d4afc8 /Makefile
parent853ed1577c3e87318b8b8f2adb4210f5a5d7459f (diff)
Add manual for mark-host-down
Manual added for blueprints: https://blueprints.launchpad.net/nova/+spec/mark-host-down https://blueprints.launchpad.net/python-novaclient/+spec/support-force-down-service Jira: DOCTOR-30 Change-Id: I44576303ca513904b3829faa7804c0f5e2396f1e Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 884c0fe8..888d158e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,18 @@
BUILDDIR := build
DESIGN_DOCS = $(wildcard design_docs/*.rst)
+MANUALS = $(wildcard manuals/*.rst)
-.PHONY: clean html pdf bps all
+.PHONY: clean html pdf bps man all
-all: bps html pdf
+all: man bps html pdf
clean:
rm -rf $(BUILDDIR)/*
+man: | $(BUILDDIR)
+ mkdir -p $(BUILDDIR)/manuals
+ $(foreach f,$(MANUALS),rst2html.py $(f) $(BUILDDIR)/$(f:.rst=.html);)
+
bps: $(DESIGN_DOCS) | $(BUILDDIR)
mkdir -p $(BUILDDIR)/design_docs
$(foreach f,$(DESIGN_DOCS),rst2html.py $(f) $(BUILDDIR)/$(f:.rst=.html);)