forked from wenweili/AlJabr-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (28 loc) · 958 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
MAINFILE=Al-jabr-1
TEMPLATE=Template-AJbook
ERRATA=Errata-Al-jabr-1
LATEXMK=latexmk
default:
# Generating $(MAINFILE).pdf
$(LATEXMK) -pdf -pdflatex="xelatex -synctex=1 -shell-escape -interaction=nonstopmode %O %S" $(MAINFILE)
nosync:
# Generating $(MAINFILE).pdf
$(LATEXMK) -pdf -pdflatex="xelatex -shell-escape -interaction=nonstopmode %O %S" $(MAINFILE)
template:
# Generating $(TEMPLATE).pdf
$(LATEXMK) -pdf -pdflatex="xelatex -shell-escape -interaction=nonstopmode %O %S" $(TEMPLATE)
errata:
# Generating $(ERRATA).pdf
$(LATEXMK) -pdf -pdflatex="xelatex -shell-escape -interaction=nonstopmode %O %S" $(ERRATA)
clean:
# Cleaning...
@rm -f *.aux *.log *.idx *.ind *.ilg *.thm *.toc *.blg *.bbl *.bcf *.out
@rm -f *.fls *.fdb_latexmk *.run.xml *.synctex.gz *.xdv *~ *.lof *.lot
@rm -f .metadonnees*
tarball:
@rm -f ../AlJabr-1.tar.gz
@tar cvfz ../AlJabr-1.tar.gz .
zip:
@rm -f ../AlJabr-1.zip
@zip -r ../AlJabr-1.zip .
.PHONY: clean