mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-12-13 13:04:24 -06:00
more cleanup
This commit is contained in:
@@ -30,7 +30,7 @@ endif
|
|||||||
# and building everything take a long time.
|
# and building everything take a long time.
|
||||||
.DEFAULT_GOAL := serif
|
.DEFAULT_GOAL := serif
|
||||||
|
|
||||||
# List all files that are dependencies {{{
|
# Dependencies {{{
|
||||||
chapters = baking basics bread-types cover flour-types history intro mix-ins\
|
chapters = baking basics bread-types cover flour-types history intro mix-ins\
|
||||||
non-wheat-sourdough sourdough-starter storing-bread troubleshooting\
|
non-wheat-sourdough sourdough-starter storing-bread troubleshooting\
|
||||||
wheat-sourdough glossary
|
wheat-sourdough glossary
|
||||||
@@ -85,6 +85,7 @@ ruby_src := ../website/modify_build.rb $(website_assets)
|
|||||||
ruby_pkg := ../website/Gemfile ../website/Gemfile.lock
|
ruby_pkg := ../website/Gemfile ../website/Gemfile.lock
|
||||||
#}}}
|
#}}}
|
||||||
|
|
||||||
|
# Internal build rules {{{
|
||||||
# Flowcharts {{{
|
# Flowcharts {{{
|
||||||
# TODO: check if it works on github CI
|
# TODO: check if it works on github CI
|
||||||
%.png: %.tex
|
%.png: %.tex
|
||||||
@@ -182,9 +183,10 @@ website: html ../website/_bundle_install_done $(ruby_src)
|
|||||||
export_figures: pdf $(tgt_figures)
|
export_figures: pdf $(tgt_figures)
|
||||||
cd figures/ && bash export_figures.sh
|
cd figures/ && bash export_figures.sh
|
||||||
# }}}
|
# }}}
|
||||||
|
# }}}
|
||||||
|
|
||||||
# Define user level targets {{{
|
# User level targets {{{
|
||||||
# Expected usual targets first
|
# Build targets{{{
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: bake
|
all: bake
|
||||||
|
|
||||||
@@ -198,6 +200,7 @@ sans_serif: book_sans_serif/book_sans_serif.pdf
|
|||||||
ebook: epub/book.epub
|
ebook: epub/book.epub
|
||||||
bw_ebook: epub/bw_book.epub
|
bw_ebook: epub/bw_book.epub
|
||||||
low_res_ebook: epub/low_res_book.epub
|
low_res_ebook: epub/low_res_book.epub
|
||||||
|
#}}}
|
||||||
|
|
||||||
# Old target names are disabled with helpful help message #{{{
|
# Old target names are disabled with helpful help message #{{{
|
||||||
build_pdf:
|
build_pdf:
|
||||||
@@ -240,7 +243,6 @@ release_serif: serif ebook bw_ebook low_res_ebook | release
|
|||||||
release_sans_serif: sans_serif | release
|
release_sans_serif: sans_serif | release
|
||||||
cp book_sans_serif/book_sans_serif.pdf release/TheBreadCode-The-Sourdough-Framework-sans-serif.pdf
|
cp book_sans_serif/book_sans_serif.pdf release/TheBreadCode-The-Sourdough-Framework-sans-serif.pdf
|
||||||
# }}}
|
# }}}
|
||||||
# }}}
|
|
||||||
|
|
||||||
# Clean up {{{
|
# Clean up {{{
|
||||||
###################################
|
###################################
|
||||||
@@ -340,8 +342,9 @@ help:
|
|||||||
@echo ""
|
@echo ""
|
||||||
@echo "set DEBUG i.e make DEBUG=1 ebook to add debug flags to commands"
|
@echo "set DEBUG i.e make DEBUG=1 ebook to add debug flags to commands"
|
||||||
# }}}
|
# }}}
|
||||||
|
# }}}
|
||||||
|
|
||||||
# Debug Stuff from now on {{{
|
# Debug Stuff {{{
|
||||||
###################################
|
###################################
|
||||||
|
|
||||||
# Verify your spelling and TeX warnings {{{
|
# Verify your spelling and TeX warnings {{{
|
||||||
|
|||||||
Reference in New Issue
Block a user