Skip to content
Snippets Groups Projects
Commit 67df8c1f authored by Ethan Robert's avatar Ethan Robert
Browse files

Fixed errors in HTML standalone generation (pandoc) for older versions

parent 5549f31e
Branches
No related tags found
No related merge requests found
Pipeline #60116 passed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment