m-thesis-documentation/documents/thesis/chapters/Makefile

21 lines
393 B
Makefile
Raw Permalink Normal View History

2022-08-24 17:24:49 +02:00
# vim:ft=make
.PHONY: all clean dist-clean
TEXENGINE ?= latexmk --pdf
SOURCES = $(wildcard *.tex)
OBJECTS = $(patsubst %.tex,%.pdf,$(SOURCES))
all: $(OBJECTS)
dist: all clean
$(OBJECTS): %.pdf: %.tex
$(TEXENGINE) $^
dist-clean: clean
@rm -vf *.pdf *.eps *.dvi *.ps
clean:
@rm -vf *.dat *.log *.out *.aux *.nav *.snm *.toc *.vrb *~ *.fls *.fdb_latexmk *-blx.bib *.bbl *.blg *.run.xml