20 lines
261 B
Makefile
20 lines
261 B
Makefile
|
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
|