latex-packages/scripts/compile_doc.sh

6 lines
196 B
Bash
Raw Normal View History

#! /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" -- {} \;