From 2ef2432b9d9e5ea39a597a87fd170986db9a7afc Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 15 Apr 2021 15:42:45 +0200 Subject: [PATCH] fix: make sure theme.css is present when generating slides --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f6c8459..10016fe 100755 --- a/Makefile +++ b/Makefile @@ -84,13 +84,16 @@ images: $(DOCS_IMAGES_SVG) $(DOCS_IMAGES_PNG) ## build images %.circo.svg: %.circo circo -Tsvg $< > $@ +.marp/theme.css: + cd .marp && $(MAKE) theme.css + watch: ## run development server pipenv run honcho start watch-docs-internal: pipenv run mkdocs serve --dev-addr 0.0.0.0:$(DOCS_PORT) -watch-slides-internal: +watch-slides-internal: .marp/theme.css PORT=$(SLIDES_PORT) \ npx marp \ --engine $$(pwd)/.marp/engine.js \