latex-packages/scripts/compile_doc.sh
Maximilian Keßler 6d8a131865
Rework building of documentation files
Instead of an ugly Makefile structure, we now use a single compile
script that collects all the files in build/doc.
2023-10-19 01:34:46 +02:00

5 lines
196 B
Bash
Executable file

#! /bin/bash
# Compiles all documentation files in repository
BUILD_COMMAND="latexmk -output-directory=$(pwd)/.compile $1"
find doc -type f -name "*.tex" -execdir sh -c "$BUILD_COMMAND" -- {} \;