summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 37cff96..b830da4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
+SHELL=/bin/bash
+
PRE:=docker.pdf
-DEPS:=moby.pdf $(wildcard examples/*/Dockerfile)
+DEPS_GEN:=moby.pdf compiling.png swarm.png
+DEPS:=$(DEPS_GEN) $(wildcard examples/*/Dockerfile)
AUX:=moby.svg
TEX:=pdflatex
@@ -15,7 +18,14 @@ all: $(PRE)
convert $< $@
moby.svg:
- wget https://www.docker.com/sites/default/files/moby.svg
+ curl https://www.docker.com/sites/default/files/moby.svg > $@
+
+swarm.png:
+ curl https://www.docker.com/sites/default/files/docker-swarm-hero2.png > $@
+
+compiling.png:
+ curl https://imgs.xkcd.com/comics/compiling.png > $@
clean:
- $(RM) $(AUX) $(DEPS) $(PRE)
+ $(RM) -r $(AUX) $(DEPS_GEN) $(PRE) \
+ docker.{aux,log,nav,out,snm,toc,vrb} _minted-*