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:
cedounet
2023-09-14 08:07:36 +01:00
committed by GitHub
parent 972b1ef8ba
commit 9104ee0642

View File

@@ -43,6 +43,10 @@ ruby_pkg := ../website/Gemfile ../website/Gemfile.lock
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
# sub-directory
%.pdf: %.tex
@@ -78,9 +82,6 @@ epub/%.azw3: epub/%.epub
# Now with the rules
# Expected usual rules first
.PHONY: default
default: build_serif_pdf
.PHONY: all
all: bake