latex-packages/scripts/compile_doc.sh

9 lines
205 B
Bash
Raw Normal View History

#! /bin/bash
# Compiles all documentation files in repository
2023-10-19 02:49:26 +02:00
set -e
BUILD_COMMAND="latexmk -output-directory=$(pwd)/.compile $1"
find doc -type f -name "*.tex" -execdir sh -c "$BUILD_COMMAND" -- {} \;