Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
liziwl committed Oct 27, 2021
1 parent c156994 commit 2a734ad
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ all: doc
RM = rm -f
# endif

DOC = main

.PHONY: clean doc fastdoc

fastdoc:
xelatex -shell-escape main.tex
xelatex -shell-escape $(DOC).tex

doc:
latexmk
# xelatex -shell-escape main.tex
# biber main
# xelatex -shell-escape main.tex
# xelatex -shell-escape main.tex
latexmk $(DOC)
# xelatex -shell-escape $(DOC).tex
# biber $(DOC)
# xelatex -shell-escape $(DOC).tex
# xelatex -shell-escape $(DOC).tex

clean:
latexmk -c
latexmk -c $(DOC)
# $(RM) *.log *.aux *.bbl *.blg *.synctex.gz *.out *.toc *.lof *.idx *.ilg *.ind *.pdf *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.nav *.pre *.snm *.vrb *.fls *.xdv *.fdb_latexmk
$(RM) -r _minted*

0 comments on commit 2a734ad

Please sign in to comment.