mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-12-01 15:23:59 -06:00
Default target (#226)
* Add missing pic dependency on quick_ebook target * Fix default target in makefile The previous version was just lucky enough to be the first target not starting with a .
This commit is contained in:
@@ -43,6 +43,10 @@ ruby_pkg := ../website/Gemfile ../website/Gemfile.lock
|
|||||||
|
|
||||||
tgt_figures := $(patsubst %.tex, %.png,$(src_figures))
|
tgt_figures := $(patsubst %.tex, %.png,$(src_figures))
|
||||||
|
|
||||||
|
# Default target is not all becuse most of the time we just want a pdf...
|
||||||
|
# ebook take a long time to build.
|
||||||
|
.DEFAULT_GOAL := build_serif_pdf
|
||||||
|
|
||||||
# Default rules for pdf and ebooks, getting overwritten when built in a
|
# Default rules for pdf and ebooks, getting overwritten when built in a
|
||||||
# sub-directory
|
# sub-directory
|
||||||
%.pdf: %.tex
|
%.pdf: %.tex
|
||||||
@@ -78,9 +82,6 @@ epub/%.azw3: epub/%.epub
|
|||||||
|
|
||||||
# Now with the rules
|
# Now with the rules
|
||||||
# Expected usual rules first
|
# Expected usual rules first
|
||||||
.PHONY: default
|
|
||||||
default: build_serif_pdf
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: bake
|
all: bake
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user