aboutsummaryrefslogtreecommitdiff
path: root/make-lesson
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-04-12 11:29:11 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-04-12 11:29:11 +0200
commite536f7265cb617abaa5c97efe5d86f222291d983 (patch)
tree202ba404c48465b3e2f306318a8dd3c099685359 /make-lesson
parent0995dd2aa91c41d822ca552ec04ba47c71d90a66 (diff)
downloadunterricht-e536f7265cb617abaa5c97efe5d86f222291d983.tar.gz
unterricht-e536f7265cb617abaa5c97efe5d86f222291d983.zip
add a template initialization script
Move all scripts into scripts/. Use the common 'lesson-' prefix.
Diffstat (limited to 'make-lesson')
-rwxr-xr-xmake-lesson12
1 files changed, 0 insertions, 12 deletions
diff --git a/make-lesson b/make-lesson
deleted file mode 100755
index a82776d6..00000000
--- a/make-lesson
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/bash
-MAKEFILE='Makefile'
-while [[ ! -f "${MAKEFILE}" ]]; do
- MAKEFILE=../"${MAKEFILE}"
-done
-
-FIND="find . -maxdepth 1 '(' -name '*.md' -o -name '*.tex' ')' -a -not -name 'Aufgabe[0-9].tex'"
-
-if [[ -f "${MAKEFILE}" ]]; then
- exec make -s -f "${MAKEFILE}" "$@" $(eval "${FIND}" | sed 's/.tex/.pdf/g' | sed 's/.md/.pdf/g')
-fi
-