diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -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-* |