summaryrefslogtreecommitdiffstats
path: root/requirements/resource_management/Makefile
blob: dbf00e28839f6eb8450700d8e496b03084fc9495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'