diff --git a/Makefile b/Makefile index 42a4a911cb8a915bb3c461669a53ae05baf0cf05..8deec96ce481584328a51bcb91bdfcab1bc3e49e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SHELL := /bin/bash +SHELL := /usr/bin/env bash BUILD_DIR := public SESSIONS := 01_initiation 02_gitlab_depot_distant 03_branches @@ -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)