From 67df8c1f073beed60ac8e115d0b66242c97321a1 Mon Sep 17 00:00:00 2001
From: Ethan Robert <ethan.rbrt90@gmail.com>
Date: Thu, 13 Mar 2025 16:25:51 +0100
Subject: [PATCH] Fixed errors in HTML standalone generation (pandoc) for older
 versions

---
 Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 5550124..1f752f8 100644
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,6 @@ pdf: prerequisites-pdflatex clean
 
 html: prerequisites clean
 	@echo "Génération de Output.html"
-	@if pandoc --version | grep -q "pandoc 2\.[0-9]\|pandoc 3"; then \
-		pandoc --defaults=config.yaml -o dist/Output.html --embed-resources --standalone; \
-	else \
-		pandoc --defaults=config.yaml -o dist/Output.html --self-contained --standalone; \
-	fi
+	pandoc --defaults=config.yaml -o dist/Output.html --embed-resources --standalone || pandoc --defaults=config.yaml -o dist/Output.html --self-contained --standalone
 
 all: pdf html
\ No newline at end of file
-- 
GitLab