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

modified makefile

parent dd8125ed
No related tags found
No related merge requests found
...@@ -37,9 +37,11 @@ puppeteer: ...@@ -37,9 +37,11 @@ puppeteer:
@echo "Setting chromium to $(CHROMIUM) for puppeteer" @echo "Setting chromium to $(CHROMIUM) for puppeteer"
@echo -e "{\n\"executablePath\":" \"$(CHROMIUM)\" ",\n\"args\": [\"--no-sandbox\"]\n}" > .puppeteer.json @echo -e "{\n\"executablePath\":" \"$(CHROMIUM)\" ",\n\"args\": [\"--no-sandbox\"]\n}" > .puppeteer.json
index: index.md:
rm -f index.md $(shell ./gen_index.sh)
./gen_index.sh
index.html: index.md
pandoc -s $(OPTIONS) -o $@ $^
markdown: $(MARKDOWN) # La markdown les cibles %.markdown 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 ...@@ -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 wget -nc https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64
chmod "u+x" yq_linux_amd64 chmod "u+x" yq_linux_amd64
deploy: all deploy: all index.html
mkdir -p algo_cours mkdir -p algo_cours
cp *.pdf algo_cours cp *.pdf algo_cours
cp index.html algo_cours
clean: clean:
rm -f *.html *.pdf *.markdown yq_linux_amd64* index.md .puppeteer.json 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 to comment