Commit 9ae21bd3 authored by Martin Ukrop's avatar Martin Ukrop
Browse files

Modify Makefile to build all TeX files

- All .tex files in the current folder are now built by default.
parent 4a87e30a
all: thesis-report.pdf
TEXS=$(wildcard *.tex)
PDFS=$(TEXS:.tex=.pdf)
all: $(PDFS) clean
clean:
rm -f *.aux *.dvi *.log *.synctex.gz *.out *.nav *.toc *.snm *.run.xml *-blx.bib *.bbl *.blg *.bcf
thesis-report.pdf: thesis-report.tex fi-thesis-report.cls
pdflatex thesis-report
pdflatex thesis-report
%.pdf : %.tex fi-thesis-report.cls
pdflatex $<
pdflatex $<
.PHONY: all clean
......@@ -7,7 +7,7 @@ Unofficial LaTeX template for thesis reports at FI MU. Uses the new faculty visu
The project defines a new LaTeX document style 'fi-thesis-report' based on the traditional TeX class 'article'. The easiest way how to use the existing example file *thesis-report.tex*. Documentation of the important commands is provided in comments.
To build the report correctly, it is necessary to **run the build twice** (faculty logo is included as PDF).
To build the report correctly, it is necessary to **run the build twice** (faculty logo is included as PDF). The included Makefile builds all '.tex' files in the current directory (so it is convenient to store multiple reports right there).
## Tips and tricks
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment