diff --git a/Makefile b/Makefile index 289a039..39aad45 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2022/01/18 15:11:16 by gbaconni #+# #+# # -# Updated: 2022/04/17 11:31:01 by gbaconni ### lausanne.ch # +# Updated: 2022/04/17 11:51:17 by gbaconni ### lausanne.ch # # # # **************************************************************************** # # @@ -19,6 +19,8 @@ # GIT_REPO = git@vogsphere.42lausanne.ch:vogsphere/intra-uuid-fd8d00fc-8c22-400e-a8d9-dcc364688380-4092952-gbaconni +PDF_FR = https://cdn.intra.42.fr/pdf/pdf/50142/fr.subject.pdf +PDF_EN = https://cdn.intra.42.fr/pdf/pdf/50141/en.subject.pdf NAME = ft_printf @@ -107,7 +109,11 @@ test3: debug test4: fast @$(MAKE) test FAST=1 -update: config online pull +doc: + @curl -s -L -z fr.subject.pdf -o fr.subject.pdf $(PDF_FR) + @curl -s -L -z en.subject.pdf -o en.subject.pdf $(PDF_EN) + +update: config online fetch sync: config online fetch @git status | grep -q 'nothing to commit' || (git diff; read -p "Comment: " comment; git add -A; git commit -am "$${comment-$$(date '+%F %T')}"; git push) diff --git a/en.subject.pdf b/en.subject.pdf index e23f7a2..1dc04dc 100644 Binary files a/en.subject.pdf and b/en.subject.pdf differ diff --git a/fr.subject.pdf b/fr.subject.pdf index 68918c3..f83555c 100644 Binary files a/fr.subject.pdf and b/fr.subject.pdf differ