taocp-exercises/tex/Makefile

20 lines
261 B
Makefile
Executable File

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