Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
clsource authored Oct 25, 2024
1 parent 48833f0 commit 8439b37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ pdf p:
@find book -name '*.svg' | xargs -I {} cp {} docs/.asciidoctor
@find book -name '*.gif' | xargs -I {} cp {} docs/.asciidoctor

@find resources/images -name '*.jpg' | xargs -I {} cp {} docs/.asciidoctor
@find resources/images -name '*.jpeg' | xargs -I {} cp {} docs/.asciidoctor
@find resources/images -name '*.png' | xargs -I {} cp {} docs/.asciidoctor
@find resources/images -name '*.svg' | xargs -I {} cp {} docs/.asciidoctor
@find resources/images -name '*.gif' | xargs -I {} cp {} docs/.asciidoctor

@docker run -it -u $(id -u):$(id -g) -v .:/documents/ adoc-book asciidoctor-pdf -a allow-uri-read=true -a source-highlighter=rouge -a rouge-style=monokai_sublime -r asciidoctor-diagram -r asciidoctor-mathematical -a mathematical-format=svg book.adoc -o docs/book.pdf --verbose

server s:
Expand Down

0 comments on commit 8439b37

Please sign in to comment.