include config/vars
.PHONY: all
all: .check $(BOOK).pdf
config/vars: @git submodule update --init
.PHONY: clean all
qr.tex: README.md config/vars | .switch-gls
@printf '\qrcode[height=.2\\textwidth]{$(QR_TARGET)}' > qr.tex
.switch-gls:
@touch .switch-gls
$(BOOK).pdf: $(DEPS) | qr.tex
@$(COMPILER) main.tex
clean:
$(CLEAN)