diff --git a/Makefile b/Makefile index fff0af8091b8ee49bc3243c717398a06563db0dd..3f352f2009f83d81266c75260e7f01018b8211af 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,20 @@ include config/vars -output: $(BOOK).pdf +.PHONY: all +all: $(BOOK).pdf config/vars: @git submodule update --init .PHONY: clean all -qr.tex: README.md config/vars .switch-gls +qr.tex: README.md config/vars | .switch-gls @printf '\qrcode[height=.2\\textwidth]{$(QR_TARGET)}' > qr.tex .switch-gls: - @touch -r Makefile .switch-gls + @touch .switch-gls $(BOOK).pdf: $(wildcard *.tex) $(wildcard config/*.sty) | qr.tex @$(COMPILER) main.tex -.PHONY: all -all: $(BOOK).pdf - clean: $(CLEAN)