Skip to content
Snippets Groups Projects
Verified Commit c263a1b2 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

rearrange Makefile

parent 1b40ee64
Branches
Tags
No related merge requests found
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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment