mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-11-22 23:13:35 +01:00
20 lines
393 B
Makefile
20 lines
393 B
Makefile
# 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
|