summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2015-06-20 23:39:27 +0900
committerRyota MIBU <r-mibu@cq.jp.nec.com>2015-06-29 16:24:43 +0900
commit9fe7a0d483e1a377d46a1f8014868a91fa8f6884 (patch)
tree6c7240ba90fcee8bfcc8c086c5a164de4312491d /Makefile
parentf5f310ac975c10f20892cf7f4af82a5414d28899 (diff)
Use tox to solve python package deps
JIRA: PROMISE-4 Change-Id: I3fe282dbc5807fe7e76a25fb3fa44a4d47b51c1d Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 6 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 7d4dd23..d1a0e8a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,24 +1,12 @@
BUILDDIR := build
-.PHONY: clean html pdf default
+.PHONY: default clean
-default: pdf
-
-clean:
- rm -rf $(BUILDDIR) plantuml.jar
-
-html: plantuml.jar | $(BUILDDIR)
- sphinx-build -b html -c etc -d $(BUILDDIR)/doctrees \
- requirements $(BUILDDIR)/requirements/html
-
-pdf: plantuml.jar | $(BUILDDIR)
- sphinx-build -b latex -c etc -d $(BUILDDIR)/doctrees \
- requirements $(BUILDDIR)/requirements/latex
- $(MAKE) -C $(BUILDDIR)/requirements/latex \
- LATEXOPTS='--interaction=nonstopmode' all-pdf
-
-$(BUILDDIR):
- mkdir -p $(BUILDDIR)
+default: plantuml.jar
+ tox
plantuml.jar:
wget 'http://downloads.sourceforge.net/project/plantuml/plantuml.jar'
+
+clean:
+ rm -rf .tox build plantuml.jar