-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
20 lines (18 loc) · 1.16 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build/thesis.pdf: thesis.tex Source/begining.pdf Source/preamble.tex bibliography.bib $(shell find Text -type f) $(shell find Images -type f)
# make pictures
latexmk -halt-on-error -pdf -output-directory=build thesis.tex
build/abspl.pdf: Source/preamble.tex Source/abspl.tex Text/abstract_pl.tex
pdflatex -halt-on-error -output-directory=build Source/abspl.tex
build/absen.pdf: Source/preamble.tex Source/absen.tex Text/abstract_en.tex
pdflatex -halt-on-error -output-directory=build Source/absen.tex
Source/begining.pdf: Source/preamble.tex Source/begining.tex Text/abstract_en.tex Text/abstract_pl.tex
pdflatex -halt-on-error -output-directory=Source Source/begining.tex
pictures:
cp /home/dominik/Inzynierka/pythonpic/docs/ipynb/data_analysis/*/*/*.png Images
cp /home/dominik/Inzynierka/pythonpic/docs/ipynb/data_analysis/*/*/*/*.png Images
clean:
rm build/* build/Text/*
rm *.blg *.brf *.synctex.gz *.bbl *.aux *.log *.out *.pdf *.fls *.fdb_latexmk */*.aux */*.log */*.out */*.pdf */*.fls */*.fdb_latexmk */*.toc *.toc */*.brf
diff:
latexdiff --flatten ../thesis_text_old/thesis.tex thesis.tex > diff.tex
pdflatex -halt-on-error -output-directory=diff_build diff.tex