-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
31 lines (24 loc) · 876 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
TEX = pdflatex -interaction nonstopmode
BIB = bibtex
GS = gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
COVER = cover
MAINDOCUMENT = thesis
BIBFILE = references.bib
FINALDOCUMENT = thesis_with_cover.pdf
STYLE = hegyhati.sty
PARTS = $(shell find Parts/ -type f)
FIGURES = $(shell find Figures/ -type f)
all: $(MAINDOCUMENT).pdf $(COVER).pdf
$(GS) -sOutputFile=$(FINALDOCUMENT) $(COVER).pdf $(MAINDOCUMENT).pdf
spell::
ispell *.tex
clean::
rm -fv *.aux *.log *.bbl *.blg *.toc *.out *.lot *.lof *.loa $(MAINDOCUMENT).pdf $(FINALDOCUMENT)
$(MAINDOCUMENT).pdf: $(MAINDOCUMENT).tex $(MAINDOCUMENT).bbl $(STYLE) $(PARTS) $(FIGURES)
$(TEX) $(MAINDOCUMENT)
$(TEX) $(MAINDOCUMENT)
$(MAINDOCUMENT).bbl: $(MAINDOCUMENT).tex $(BIBFILE)
$(TEX) $(MAINDOCUMENT)
$(BIB) $(MAINDOCUMENT)
docker-all::
docker run --rm -v ${PWD}:/project -w /project hegyhati/diploma-latex:latest make