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

6 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" -- {} \;