diff --git a/Makefile b/Makefile index 0ce5af5..eb5361d 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ html: .PHONY: pdf pdf: cd $(EXAMPLE_FOLDER); \ - pandoc --to=pdf --pdf-engine=pagedjs-cli --embed-resource \ + pandoc --to=pdf --pdf-engine=pagedjs-cli --embed-resources=true \ --template=../$(PROJECT_STATIC_FOLDER)/template.html \ --css=../$(PROJECT_STATIC_FOLDER)/style.css \ -V static='../static' -V noscript=true \ @@ -48,7 +48,8 @@ watch: release: zip -r $(RELEASE_FOLDER)/$(GIT_LAST_TAG).zip static make - cp $(EXAMPLE_FOLDER)/$(EXAMPLE_FILENAME).pdf $(RELEASE_FOLDER)/$(GIT_LAST_TAG).pdf + cp $(EXAMPLE_FOLDER)/$(EXAMPLE_FILENAME).pdf \ + $(RELEASE_FOLDER)/$(GIT_LAST_TAG).pdf .PHONY: clean rm -f $(RELEASE_FOLDER)/*.* diff --git a/README.md b/README.md index 083270c..b085a59 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ exemple : ## Requis - `pandoc`. -- `pagedjc-cli`. +- `pagedjs-cli`. - Gnu Make, `watchexec` et python pour utiliser les facilités fournies par le `Makefile`.