Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LATEX_CMD = pdflatex --synctex=1 -interaction=nonstopmode thesis.tex
- cropped := $(patsubst figures/%.pdf,figures/cropped/%.pdf, $(wildcard figures/*.pdf))
- $(cropped): figures/cropped/%.pdf: figures/%.pdf
- pdfcrop --margin '1 2 1 2' $< $@
- thesis.pdf: thesis.tex chapters/*.tex figures/* literature/* $(cropped)
- $(LATEX_CMD)
- makeglossaries thesis
- bibtex thesis
- $(LATEX_CMD)
- $(LATEX_CMD)
- all: thesis.pdf
- clean:
- rm -f thesis.pdf
- .PHONY = clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement