Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
S2.03
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ethan Robert
S2.03
Commits
5ec582e3
Commit
5ec582e3
authored
2 months ago
by
Ethan Robert
Browse files
Options
Downloads
Patches
Plain Diff
Derniers changements
parent
9230cf03
No related branches found
No related tags found
No related merge requests found
Pipeline
#60208
passed
2 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+4
-2
4 additions, 2 deletions
Makefile
config.yaml
+1
-1
1 addition, 1 deletion
config.yaml
with
5 additions
and
3 deletions
Makefile
+
4
−
2
View file @
5ec582e3
...
...
@@ -2,6 +2,8 @@ prerequisites:
@
echo
"Vérification du fonctionnement de pandoc"
@
which pandoc
>
/dev/null
||
(
echo
"❌ Impossible de trouver la commande pandoc."
;
exit
1
)
@
pandoc
--version
|
grep
-q
"pandoc 2
\.
[0-9]
\|
pandoc 3"
||
(
echo
"❌ La version de pandoc doit être au moins 2.0."
;
exit
1
)
@
echo
"Création du répertoire dist"
@
mkdir
dist
||
(
echo
"Already exists"
)
prerequisites-pdflatex
:
prerequisites
@
echo
"Vérification de la présence de pdflatex"
...
...
@@ -15,10 +17,10 @@ clean:
pdf
:
prerequisites-pdflatex clean
@
echo
"Génération de Output.pdf"
@
pandoc
--defaults
=
config.yaml
-o
dist/Output.pdf
@
pandoc
--defaults
=
config.yaml
-o
$(
PWD
)
/
dist/Output.pdf
html
:
prerequisites clean
@
echo
"Génération de Output.html"
pandoc
--defaults
=
config.yaml
-o
dist/Output.html
--embed-resources
--standalone
||
pandoc
--defaults
=
config.yaml
-o
dist/Output.html
--self-contained
--standalone
@
pandoc
--defaults
=
config.yaml
-o
$(
PWD
)
/
dist/Output.html
--embed-resources
--standalone
||
(
pandoc
--defaults
=
config.yaml
-o
$(
PWD
)
/
dist/Output.html
--self-contained
--standalone
)
all
:
pdf html
\ No newline at end of file
This diff is collapsed.
Click to expand it.
config.yaml
+
1
−
1
View file @
5ec582e3
...
...
@@ -5,7 +5,7 @@ input-files:
-
src/Gitea.md
metadata
:
title
:
"
SAÉ
S2.03"
author
:
"
Ethan
Robert"
author
:
"
Ethan
Robert
,
Sewan
Hamida,
Aurélien
Dochy
"
date
:
"
Février
2025"
encoding
:
"
UTF-8"
toc
:
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment