From 5d60e2043d9e84028cd6119fdca30cc5415b28b6 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Mon, 6 Dec 2021 12:22:19 +0100 Subject: [PATCH] marp: handle theme for build-slides --- Makefile | 4 ++-- docker/entrypoint.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c6708b2..412866f 100755 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ serve-docs: watch-docs tocupdate: pipenv run ./scripts/update-toc $(DOCS_DIR) ; \ -$(BUILD_SLIDES_DIR)/%.pdf: $(CACHE_SLIDES_DIR)/%.mdpp.md | $(BUILD_SLIDES_DIR) +$(BUILD_SLIDES_DIR)/%.pdf: $(CACHE_SLIDES_DIR)/%.mdpp.md | $(BUILD_SLIDES_DIR) .marp/theme.css npx marp --allow-local-files \ --engine $$(pwd)/.marp/engine.js \ --html \ @@ -152,7 +152,7 @@ $(BUILD_SLIDES_DIR)/%.pdf: $(CACHE_SLIDES_DIR)/%.mdpp.md | $(BUILD_SLIDES_DIR) $< \ -o $@ -$(BUILD_SLIDES_DIR)/%.pdf: $(SLIDES_DIR)/%.md | $(BUILD_SLIDES_DIR) +$(BUILD_SLIDES_DIR)/%.pdf: $(SLIDES_DIR)/%.md | $(BUILD_SLIDES_DIR) .marp/theme.css npx marp --allow-local-files \ --engine $$(pwd)/.marp/engine.js \ --html \ diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 381d182..f3ebfff 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -19,6 +19,7 @@ fi if [ -d "_build" ]; then chown -R "$EXT_UID:$EXT_GID" _build + chown -R "$EXT_UID:$EXT_GID" .marp fi if [ "$1" = "shell" ]; then