File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed
Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change 11all : C++Course.pdf
22
3- essentials :
4- ESSENTIALS=1 make
3+ LATEXMK =latexmk
4+ OPTIONS =-pdf -shell-escape -halt-on-error
55
6- % .pdf : * .tex ** /* .tex
7- ifdef ESSENTIALS
8- echo "\basictrue" > onlybasics.tex
6+ essentials : all
7+ essentials : OPTIONS+=-pretex='\basictrue'
8+
9+ preview : all
10+ preview : OPTIONS+=-pvc
11+
12+ ifneq ($(V ) , 1)
13+ OPTIONS+=-quiet
914else
10- rm -f onlybasics.tex
15+ OPTIONS+=-interaction=nonstopmode
1116endif
12- pdflatex -shell-escape C++Course.tex
13- pdflatex -shell-escape C++Course.tex
17+
18+ .PHONY : clean clobber FORCE
19+
20+ % .pdf : % .tex FORCE
21+ $(LATEXMK ) $(OPTIONS ) $<
1422
1523clean :
16- rm -rf * .aux * / * .aux * .log * .nav * .out * .pyg * .snm * .vrb * .toc C++Course.l * _minted-C++Course
24+ $( LATEXMK ) -quiet -c
1725
18- clobber : clean
19- rm -f C++Course.pdf
26+ clobber :
27+ $( LATEXMK ) -quiet -C
You can’t perform that action at this time.
0 commit comments