Skip to content
Snippets Groups Projects
Verified Commit 03e8cff2 authored by Marc BRUCKER's avatar Marc BRUCKER
Browse files

feat: add dependency to all qmd file for build

Make was not running when qmd files other than index.qmd were modified.
This has been fixed by adding a dependency on all qmd files for the
index.html targets.
parent 1b520353
No related branches found
No related tags found
2 merge requests!2ajout modifs et notes personnelles,!1Makefile plus universel et observant les modifications de tous les fichiers qmd
......@@ -7,7 +7,7 @@ INDEXES := $(SESSIONS:%=$(BUILD_DIR)/%/index.html)
build: $(INDEXES)
$(BUILD_DIR)/%/index.html:: %/index.qmd
$(BUILD_DIR)/%/index.html:: %/index.qmd %/*.qmd
@echo -e "###\n# $@\n###"
quarto render $< --output-dir $(BUILD_DIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment