m-thesis-documentation/presentations/2022-02-03_group_meeting/Makefile

25 lines
445 B
Makefile
Raw Permalink Normal View History

# vim:ft=make
-include config.mk
2022-01-31 14:00:24 +01:00
.PHONY: all clean dist-clean
### Variables
MAIN_SRC ?= main.tex
2022-01-31 14:00:24 +01:00
TEXENGINE ?= latexmk --pdf
2022-01-31 14:00:24 +01:00
MAIN_TARGET = $(patsubst %.tex,%.pdf,$(MAIN_SRC))
2022-01-31 14:00:24 +01:00
### Targets
all: $(MAIN_TARGET)
2022-01-31 14:00:24 +01:00
dist: all clean
$(MAIN_TARGET): $(MAIN_SRC)
$(TEXENGINE) $^
2022-01-31 14:00:24 +01:00
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