summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7908277..aaa9119 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
PRE:=docker.pdf
-DEPS:=moby.png
+DEPS:=moby.pdf
+AUX:=moby.svg
TEX:=pdflatex
TEXFLAGS:=-file-line-error -no-shell-escape
@@ -10,5 +11,11 @@ all: $(PRE)
$(TEX) $(TEXFLAGS) -jobname=$(basename $@) $< &&\
$(TEX) $(TEXFLAGS) -jobname=$(basename $@) $<
-%.png: %.svg
+%.pdf: %.svg
convert $< $@
+
+moby.svg:
+ wget https://www.docker.com/sites/default/files/moby.svg
+
+clean:
+ $(RM) $(AUX) $(DEPS) $(PRE)