From 97c78d6676e5a79930534cffc676e2bbf6dfed73 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 7 Jun 2024 23:12:41 +0100 Subject: Fix: Makefile: compile_book: include files in the top-level content/published folder --- Makefile.bookup | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.bookup b/Makefile.bookup index 4bb3aa1..7eb93e8 100644 --- a/Makefile.bookup +++ b/Makefile.bookup @@ -102,6 +102,7 @@ compile_book: metadata @/bin/bash -c 'for file in $(BOOKUP)/structure/00*.yml; do cat $$file >> $(OUTPUT).md ; echo "---" >> $(OUTPUT).md; done' @/bin/bash -c 'for file in $(BOOKUP)/structure/00*.md; do cat $$file >> $(OUTPUT).md ; echo "" >> $(OUTPUT).md; done' @/bin/bash -c 'for file in content/published/*/*.md; do cat $$file >> $(OUTPUT).md ; echo "" >> $(OUTPUT).md ; cat $(BOOKUP)/templates/references.md >> $(OUTPUT).md ; echo "" >> $(OUTPUT).md; done' + @/bin/bash -c 'for file in content/published/*.md; do cat $$file >> $(OUTPUT).md ; echo "" >> $(OUTPUT).md ; cat $(BOOKUP)/templates/references.md >> $(OUTPUT).md ; echo "" >> $(OUTPUT).md; done' @/bin/bash -c 'for file in $(BOOKUP)/structure/99*.md; do cat $$file >> $(OUTPUT).md ; echo "" >> $(OUTPUT).md; done' @sed -i -e "s|%%revision%%|$(REVISION)|g" -e "s|%%date%%|$(DATE)|g" $(OUTPUT).md @test -e snippets/terminology.sed && sed -i -f snippets/terminology.sed $(OUTPUT).md || true -- cgit v1.2.3