aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/lesson-make4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lesson-make b/scripts/lesson-make
index d5639b7a..3c6a4890 100755
--- a/scripts/lesson-make
+++ b/scripts/lesson-make
@@ -22,6 +22,9 @@ if [[ -z "${targets[*]}" ]]; then
slides*.md)
new_targets+=("${source_name/.md/.pdf}" "${source_name/.md/.pptx}")
;;
+ moodle-quiz.md)
+ new_targets+=("${source_name/.md/.xml}")
+ ;;
*)
mapfile -t new_targets < <(echo "${source}" | sed -e 's/\.tex$/.pdf/g' -e 's/\.md$/.pdf/g')
;;
@@ -43,4 +46,3 @@ if [[ -z "${targets[*]}" ]]; then
fi
exec make -f "${MAKEFILE}" "${targets[@]}"
-