summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2016-09-18 18:29:54 +0200
committerCamil Staps2016-09-18 18:29:54 +0200
commit3f4516b93acc386120f79ba5529428fa79a95803 (patch)
treebd5d8e0bd06753824602c3e826c60cdeda0a63f1 /Makefile
parentTitle page (diff)
Remove moby.svg
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)