summaryrefslogtreecommitdiff
path: root/docs/Makefile
blob: cdda7dc08a9f8dce899c8abea4c1c65e0a987eeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TEXARGS := --output-directory=build

BUILDDIR := build

DOC := eas

LOGO := eas

$(BUILDDIR)/$(DOC).pdf: $(DOC).tex $(BUILDDIR)/$(DOC).png $(BUILDDIR)
	pdflatex $(TEXARGS) $(DOC).tex
	pdflatex $(TEXARGS) $(DOC).tex

$(BUILDDIR)/eas.png: $(LOGO).svg $(BUILDDIR)
	inkscape --export-type=png --export-width=1024 --export-filename=$(BUILDDIR)/$(LOGO).png $(LOGO).svg

$(BUILDDIR):
	mkdir -p $(BUILDDIR)