mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-06-23 04:23:41 +02:00
Co-authored-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de> Co-authored-by: Mathis Kral <mathis_tiberius.kral@mailbox.tu-dresden.de> Co-authored-by: Theo Reichert <theo.reichert@mailbox.tu-dresden.de>
29 lines
583 B
Makefile
29 lines
583 B
Makefile
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
# SPDX-FileCopyrightText: 2024 swt23w23
|
|
PLANTUML_DIAGRAMS = $(patsubst figures/puml/%.puml,figures/puml/%.pdf,$(wildcard figures/puml/*.puml))
|
|
|
|
.PHONY: default clean
|
|
|
|
default: main.pdf
|
|
|
|
main.pdf: main.tex ${PLANTUML_DIAGRAMS} ${PLANTUML_LOCAL_DIAGRAMS}
|
|
latexmk -xelatex main.tex
|
|
|
|
figures/puml/%.pdf: figures/puml/%.puml
|
|
plantuml -tpdf $<
|
|
|
|
clean:
|
|
rm -f \
|
|
${PLANTUML_DIAGRAMS} \
|
|
main.aux \
|
|
main.fdb_latexmk \
|
|
main.fls \
|
|
main.log \
|
|
main.nav \
|
|
main.out \
|
|
main.pdf \
|
|
main.snm \
|
|
main.synctex.gz \
|
|
main.toc \
|
|
main.xdv
|