diff --git a/Makefile b/Makefile index f24d02c181f11ad10728b8b615e31c96ebd37e86..4cedfef845afbfc9889a73de72478d61179ab835 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ images: images/wide.jpg:| images convert -size 100x60 xc:skyblue -fill white -stroke black -draw "ellipse 50,30 40,20 45,270" images/wide.jpg -ALL_FILES = $(wildcard *.tex) $(wildcard *.sty) | $(DROSS) +ALL_FILES := $(wildcard *.tex) $(wildcard *.sty) | $(DROSS) $(DROSS)/test.pdf: test.tex $(ALL_FILES) $(RUN) test.tex diff --git a/vars b/vars index 4b64cb98e3d7ce705bd3d9ec8b43a7fbd81839e1..7931dc73fe77be67aa3d8d0eb53fd0b4a2754965 100644 --- a/vars +++ b/vars @@ -1,9 +1,9 @@ -CP = ln -f -BOOK = $(shell basename "$$(pwd)") -DROSS = $(shell head -1 .gitignore) -COMPILER = latexmk -auxdir=$(DROSS) -pdflua -silent -shell-escape -r config/.latexmkrc -jobname=$(BOOK) -GLOS = makeglossaries -d $(DROSS) -RUN = lualatex -output-directory $(DROSS) -shell-escape -QR_TARGET = $(shell grep 'mailto' README.md | cut -d' ' -f2) -CLEAN = $(RM) -r $(DROSS) qr.tex *.pdf svg-inkscape -DEPS = *tex config/*sty +CP := ln -f +BOOK := $(shell basename "$$(pwd)") +DROSS := $(shell head -1 .gitignore) +COMPILER := latexmk -auxdir=$(DROSS) -pdflua -silent -shell-escape -r config/.latexmkrc -jobname=$(BOOK) +GLOS := makeglossaries -d $(DROSS) +RUN := lualatex -output-directory $(DROSS) -shell-escape +QR_TARGET := $(shell grep 'mailto' README.md | cut -d' ' -f2) +CLEAN := $(RM) -r $(DROSS) qr.tex *.pdf svg-inkscape +DEPS := *tex config/*sty