summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..cdda7dc
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,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)