From dea63614016464fc5652ba0d7e8d1e6fb2e07ee1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Jun 2024 12:30:54 -0300 Subject: Feat: support for customizing the book style --- Makefile.bookup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.bookup b/Makefile.bookup index 28ce544..8d7dae4 100644 --- a/Makefile.bookup +++ b/Makefile.bookup @@ -20,6 +20,9 @@ OUTPUT ?= book # Destination website hostname (for rsync+ssh) WEBSITE ?= $(PROJECT) +# Book style +BOOK_STYLE ?= bookdown::tufte_book2 + # # Exclusion patterns # @@ -160,7 +163,7 @@ bookdown_pdf: @rm -rf _book/_main.pdf # Build - @Rscript -e 'bookdown::render_book("$(OUTPUT).md", "bookdown::tufte_book2")' + @Rscript -e 'bookdown::render_book("$(OUTPUT).md", "$(BOOK_STYLE)")' # Move @#mv _main.pdf $(OUTPUT).pdf -- cgit v1.2.3