diff --git a/slides/Makefile b/slides/Makefile index 3dc62932558f03cd53cd542f52129ac0cb44f41a..89363fd9d9495a42f2f1ca447654c1874a750756 100644 --- a/slides/Makefile +++ b/slides/Makefile @@ -21,6 +21,7 @@ MD=$(wildcard *.md) # Tous les fichiers .md PDF=$(MD:%.md=%.pdf) # Pour les fichier pdf on transforme .md -> .pdf HTML=$(MD:%.md=%.html) # Pour les fichier html on transforme .md -> .html MARKDOWN=$(MD:%.md=%.markdown) # Pour les fichier markdown on transforme .md -> .markdown +CHROMIUM:=$(shell which chromium) all: $(PDF) $(HTML) # La cible par défaut (all) exécute les cibles %.pdf @@ -31,7 +32,7 @@ docker_clean: docker-compose.yml docker-compose run slides make clean -k || true puppeteer: - @echo -e "{\n\"executablePath\": \"/usr/bin/chromium\",\n\"args\": [\"--no-sandbox\"]\n}" > .puppeteer.json + @echo -e "{\n\"executablePath\":" \"$(CHROMIUM)\" ",\n\"args\": [\"--no-sandbox\"]\n}" > .puppeteer.json index: rm -f index.md