Compare commits

..

No commits in common. "main" and "v1.0.0" have entirely different histories.
main ... v1.0.0

2 changed files with 3 additions and 4 deletions

View File

@ -30,7 +30,7 @@ html:
.PHONY: pdf .PHONY: pdf
pdf: pdf:
cd $(EXAMPLE_FOLDER); \ cd $(EXAMPLE_FOLDER); \
pandoc --to=pdf --pdf-engine=pagedjs-cli --embed-resources=true \ pandoc --to=pdf --pdf-engine=pagedjs-cli --embed-resource \
--template=../$(PROJECT_STATIC_FOLDER)/template.html \ --template=../$(PROJECT_STATIC_FOLDER)/template.html \
--css=../$(PROJECT_STATIC_FOLDER)/style.css \ --css=../$(PROJECT_STATIC_FOLDER)/style.css \
-V static='../static' -V noscript=true \ -V static='../static' -V noscript=true \
@ -48,8 +48,7 @@ watch:
release: release:
zip -r $(RELEASE_FOLDER)/$(GIT_LAST_TAG).zip static zip -r $(RELEASE_FOLDER)/$(GIT_LAST_TAG).zip static
make make
cp $(EXAMPLE_FOLDER)/$(EXAMPLE_FILENAME).pdf \ cp $(EXAMPLE_FOLDER)/$(EXAMPLE_FILENAME).pdf $(RELEASE_FOLDER)/$(GIT_LAST_TAG).pdf
$(RELEASE_FOLDER)/$(GIT_LAST_TAG).pdf
.PHONY: clean .PHONY: clean
rm -f $(RELEASE_FOLDER)/*.* rm -f $(RELEASE_FOLDER)/*.*

View File

@ -56,7 +56,7 @@ exemple:
## Requis ## Requis
- `pandoc`. - `pandoc`.
- `pagedjs-cli`. - `pagedjc-cli`.
- Gnu Make, `watchexec` et python pour utiliser les facilités fournies par le - Gnu Make, `watchexec` et python pour utiliser les facilités fournies par le
`Makefile`. `Makefile`.