From 15041be04c85c9be12992f16921e0e7c5d8c80a6 Mon Sep 17 00:00:00 2001
From: Alexander Peyser <apeyser@users.noreply.github.com>
Date: Sun, 5 Mar 2017 09:21:22 +0100
Subject: [PATCH] dependencies in docs/model/makefile to building images (#149)

Build images.dir when building report.pdf
Add outputs to .gitignore
---
 docs/.gitignore     | 14 ++++++++++++++
 docs/model/makefile |  5 ++++-
 2 files changed, 18 insertions(+), 1 deletion(-)
 create mode 100644 docs/.gitignore

diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 00000000..881d47e5
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,14 @@
+model/appendix.fdb_latexmk
+model/appendix.fls
+model/formulation.fdb_latexmk
+model/formulation.fls
+model/report.fdb_latexmk
+model/report.fls
+model/symbols.fdb_latexmk
+model/symbols.fls
+passive_cable/cable_computation.bbl
+passive_cable/cable_computation.bcf
+passive_cable/cable_computation.fdb_latexmk
+passive_cable/cable_computation.fls
+passive_cable/cable_computation.run.xml
+passive_cable/cable_computation.xdv
diff --git a/docs/model/makefile b/docs/model/makefile
index 876cc687..f7bb82ba 100644
--- a/docs/model/makefile
+++ b/docs/model/makefile
@@ -1,6 +1,9 @@
-report.pdf : *.tex
+report.pdf : *.tex images.dir bib
 	pdflatex report.tex
 
+images.dir:
+	make -C images
+
 force : report.pdf
 	pdflatex report.tex
 
-- 
GitLab