DigitalTwins/Makefile
2023-05-05 06:18:26 +08:00

36 lines
706 B
Makefile

#
# Makefile
# Copyright (C) 2022 veypi <i@veypi.com>
# 2022-09-26 04:05
# Distributed under terms of the Apache license.
#
pdf2:
@rm ./build/main.pdf
@xelatex -output-directory=./build/ main.tex
# @zathura ./build/main.pdf
@open ./build/main.pdf
pdf:
xelatex main.tex
-bibtex main.aux
xelatex main.tex
xelatex main.tex
show: pdf
@open main.pdf
count:
@ps2ascii main.pdf | tr -d ' ' | wc -
num:
@texcount ./data/abstract.tex ./data/chapter1-intro.tex ./data/chapter2.tex ./data/chapter3.tex ./data/chapter4.tex ./data/chapter5.tex ./data/conclusion.tex
clean:
@find . -name '*.aux' -print0 | xargs -0 rm -rf
@rm main.pdf
@rm -rf *.lof *.log *.lot *.out *.toc *.bbl *.blg *.thm