diff --git a/docs/model/images/makefile b/docs/model/images/makefile
index 94ba1a4dcea41dbd667ce4532a690115156e302c..c8d50c6494d984e1fa1d57463dd04af16b2eb367 100644
--- a/docs/model/images/makefile
+++ b/docs/model/images/makefile
@@ -1,7 +1,14 @@
-all : cable.pdf soma.pdf
+.PHONY: all
 
-cable.pdf : cable.tex
-	pdflatex cable.tex
+sources := cable.tex soma.tex
+
+all: $(patsubst %.tex,%.pdf,$(sources))
+
+LATEXMK := latexmk -pdf -halt-on-error
+
+%.pdf: %.tex
+	$(LATEXMK) $<
+
+clean:
+	for s in $(sources); do $(LATEXMK) -C "$$s"; done
 
-soma.pdf : soma.tex
-	pdflatex soma.tex
diff --git a/docs/model/makefile b/docs/model/makefile
index f7bb82bafa04095ef2946d15678a2a5bfd8353ff..8e70717fc1cd7e50b9c792248993719c023506e9 100644
--- a/docs/model/makefile
+++ b/docs/model/makefile
@@ -1,21 +1,13 @@
-report.pdf : *.tex images.dir bib
-	pdflatex report.tex
+images := images/cable.pdf images/soma.pdf
 
-images.dir:
-	make -C images
+LATEXMK := latexmk -e '$$clean_ext=q/bbl run.xml/' -pdf -use-make -halt-on-error
 
-force : report.pdf
-	pdflatex report.tex
+report.pdf : report.tex appendix.tex formulation.tex symbols.tex SelfArx.cls bibliography.bib ${images}
+	$(LATEXMK) $<
 
-bib : *.tex bibliography.bib
-	pdflatex report.tex
-	bibtex report
-	pdflatex report.tex
-	pdflatex report.tex
+images/%.pdf: images/%.tex
+	make -C images $(patsubst images/%,%,$@)
 
-clean :
-	rm -f *.pdf
-	rm -f *.log
-	rm -f *.out
-	rm -f *.aux
-	rm -f *.toc
+clean:
+	$(LATEXMK) -C report.tex
+	make -C images clean    
diff --git a/docs/model/report.bbl b/docs/model/report.bbl
deleted file mode 100644
index bc1039fa6704025f2927c47d36620acf270bb044..0000000000000000000000000000000000000000
--- a/docs/model/report.bbl
+++ /dev/null
@@ -1,9 +0,0 @@
-\begin{thebibliography}{1}
-
-\bibitem{lindsay_2004}
-K.~Lindsay, J.~Rosenberg, and G.~Tucker.
-\newblock From maxwell's equations to the cable equation and beyond.
-\newblock {\em Progress in Biophysics and Molecular Biology}, 85(1):71 -- 116,
-  2004.
-
-\end{thebibliography}