diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-06 12:30:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-06 12:30:54 -0300 |
commit | dea63614016464fc5652ba0d7e8d1e6fb2e07ee1 (patch) | |
tree | 2143039e3125910555729807b365bcf98409b0ae /Makefile.bookup | |
parent | ea882bcfeacf4432e989a27ad60f78a542d9ec81 (diff) | |
download | bookup-dea63614016464fc5652ba0d7e8d1e6fb2e07ee1.tar.gz bookup-dea63614016464fc5652ba0d7e8d1e6fb2e07ee1.tar.bz2 |
Feat: support for customizing the book style
Diffstat (limited to 'Makefile.bookup')
-rw-r--r-- | Makefile.bookup | 5 |
1 files changed, 4 insertions, 1 deletions
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 |