summaryrefslogtreecommitdiffstats
path: root/requirements/resource_management/Makefile
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2015-04-20 09:29:54 +0900
committerRyota MIBU <r-mibu@cq.jp.nec.com>2015-05-20 00:36:19 +0900
commit7381fa56501f8a1c51b13e511f4bd6c44977a4d2 (patch)
tree7eeb143f65884cb19f07d0948502e9194de2d635 /requirements/resource_management/Makefile
parentb88d791c1e02b9a4b270882ea66c1b5048167182 (diff)
Add requirement doc
Change-Id: Ibfd83f84ae47291ece09150af9f35d38ef3a1288 JIRA: PROMISE-1 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Diffstat (limited to 'requirements/resource_management/Makefile')
-rw-r--r--requirements/resource_management/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/requirements/resource_management/Makefile b/requirements/resource_management/Makefile
new file mode 100644
index 0000000..dbf00e2
--- /dev/null
+++ b/requirements/resource_management/Makefile
@@ -0,0 +1,18 @@
+BUILDDIR = build
+
+.PHONY: clean html pdf all
+
+all: html pdf
+
+clean:
+ rm -rf $(BUILDDIR)/* plantuml.jar
+
+html: plantuml.jar
+ sphinx-build -b html -d $(BUILDDIR)/doctrees . $(BUILDDIR)/html
+
+pdf: plantuml.jar
+ sphinx-build -b latex -d $(BUILDDIR)/doctrees . $(BUILDDIR)/latex
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
+
+plantuml.jar:
+ wget 'http://downloads.sourceforge.net/project/plantuml/plantuml.jar'