summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/makefile b/doc/makefile
index 9f4dfa0..3446eeb 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -1,10 +1,15 @@
.PHONY: all clean
-TARGET := $(patsubst %.md,%.pdf, $(wildcard *.md))
+all: dui.pdf
-all: $(TARGET)
+dui.pdf: ../assets/architecture-level-0.pdf
+dui.pdf: ../assets/LSD_straightLines_Pic_0.png
+dui.pdf: ../assets/LSD_straightLines_Pic_1.png
+dui.pdf: ../assets/hough_straightLines_Pic_0.png
+dui.pdf: ../assets/hough_straightLines_Pic_1.png
-garbage = $1.aux $1.bbl $1.bcf $1.blg $1.fdb_latexmk $1.fls $1.log $1.out $1.run.xml $1.synctex.gz $1.toc $1.md.tex
+%.png: %.bmp
+ convert $< $@
%.pdf: %.svg
rsvg-convert -f pdf -o $@ $<
@@ -16,5 +21,6 @@ garbage = $1.aux $1.bbl $1.bcf $1.blg $1.fdb_latexmk $1.fls $1.log $1.out $1.run
pandoc -t latex -o $@ $<
clean:
- $(RM) $(call garbage,research) research.pdf
+ $(RM) dui.aux dui.bbl dui.bcf dui.blg dui.fdb_latexmk dui.fls dui.log dui.out dui.run.xml dui.synctex.gz dui.toc dui.md.tex dui.pdf
+ $(RM) ../assets/LSD_straightLines_Pic_0.png ../assets/LSD_straightLines_Pic_1.png ../assets/hough_straightLines_Pic_0.png ../assets/hough_straightLines_Pic_1.png