Skip to content
Snippets Groups Projects
Verified Commit d2b9b360 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

modified makefile

parent dd8125ed
Branches
No related tags found
No related merge requests found
Pipeline #19448 passed
......@@ -37,9 +37,11 @@ puppeteer:
@echo "Setting chromium to $(CHROMIUM) for puppeteer"
@echo -e "{\n\"executablePath\":" \"$(CHROMIUM)\" ",\n\"args\": [\"--no-sandbox\"]\n}" > .puppeteer.json
index:
rm -f index.md
./gen_index.sh
index.md:
$(shell ./gen_index.sh)
index.html: index.md
pandoc -s $(OPTIONS) -o $@ $^
markdown: $(MARKDOWN) # La markdown les cibles %.markdown
......@@ -61,11 +63,12 @@ yq: # On peut même télécharger un petit programme avec notre makefile
wget -nc https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64
chmod "u+x" yq_linux_amd64
deploy: all
deploy: all index.html
mkdir -p algo_cours
cp *.pdf algo_cours
cp index.html algo_cours
clean:
rm -f *.html *.pdf *.markdown yq_linux_amd64* index.md .puppeteer.json
.PHONY: clean index puppeteer yq
.PHONY: clean index.md puppeteer yq
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment