Move book.adoc to root

This commit is contained in:
Dunya Kirkali 2024-09-06 19:47:31 +02:00
parent 82c9e26413
commit 4e8f6cde08
3 changed files with 8 additions and 8 deletions

View File

@ -16,13 +16,13 @@ ASCIIDOC_FLAGS = \
all: $(PDF_PATH) $(EPUB_PATH)
$(PDF_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
asciidoctor-pdf source/book.adoc $(ASCIIDOC_FLAGS) \
asciidoctor-pdf book.adoc $(ASCIIDOC_FLAGS) \
-o $@ \
-r asciidoctor-diagram \
-r asciidoctor-mathematical
$(EPUB_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
asciidoctor-epub3 source/book.adoc $(ASCIIDOC_FLAGS) \
asciidoctor-epub3 book.adoc $(ASCIIDOC_FLAGS) \
-o $@ \
-r asciidoctor-diagram \
-r asciidoctor-mathematical

View File

@ -67,9 +67,9 @@ make clean
## Structure
The entry point of the book is [book.adoc](source/book.adoc).
The entry point of the book is [book.adoc](book.adoc).
The [book.adoc](source/book.adoc) consists of 3 sections:
The [book.adoc](book.adoc) consists of 3 sections:
- The [front matter](source/front_matter.adoc)
- The [body](source/body.adoc)

View File

@ -10,10 +10,10 @@ Alexandra Thompson <name.lastname@foo.bar>
:icons: font
:front-image: backgrounds/cover.png
:back-image: backgrounds/back-cover.png
:imagesdir: ../figures
:imagesdir: figures
include::front_matter.adoc[]
include::source/front_matter.adoc[]
include::body.adoc[]
include::source/body.adoc[]
include::back_matter.adoc[]
include::source/back_matter.adoc[]