diff options
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 |