taocp-exercises/tex/Makefile

20 lines
261 B
Makefile
Raw Permalink Normal View History

SOURCE=main
TARGET=book
TEXC=lualatex
all: $(SOURCE).pdf
%.pdf: %.tex
lualatex $<
biber $(SOURCE)
makeindex main.idx -s indexstyle.ist
makeglossaries $(SOURCE)
lualatex $<
lualatex $<
publish:
cp $(SOURCE).pdf ../doc/$(TARGET).pdf
clean:
./clean.sh