diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-01-06 19:51:19 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-06 19:51:19 +0100 |
| commit | 0894aa72b3f5397264eab33e6f2f5cf8fb2ba05e (patch) | |
| tree | 6cfef7ba6ce8788797359b34558d3d1772bef780 /scripts/lesson-dist | |
| parent | 0785942dc9161fdc96708ef3cd5bcd2d4d9e3afe (diff) | |
| download | unterricht-0894aa72b3f5397264eab33e6f2f5cf8fb2ba05e.tar.gz unterricht-0894aa72b3f5397264eab33e6f2f5cf8fb2ba05e.zip | |
include logos in distributable zip and document build instructions
Diffstat (limited to 'scripts/lesson-dist')
| -rwxr-xr-x | scripts/lesson-dist | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lesson-dist b/scripts/lesson-dist index 52184484..eae821d9 100755 --- a/scripts/lesson-dist +++ b/scripts/lesson-dist @@ -33,7 +33,10 @@ add_custom_latex_to_archive "${basedir}"/latex/common.tex \ "${basedir}"/latex/common_options.tex # Include common images -add_custom_latex_to_archive "${basedir}"/latex/images/** +# TODO: only include used images +readarray -t images < <(find "${basedir}"/latex/images -printf '%p\n') +add_custom_latex_to_archive "${images[@]}" + # Include the needed latex classes if grep -Pzrq '(?s)documentclass.+test\}' .; then |
