aboutsummaryrefslogtreecommitdiff
path: root/Makefile.bookup
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-07 23:12:41 +0100
committerSilvio Rhatto <rhatto@riseup.net>2024-06-07 23:12:41 +0100
commit97c78d6676e5a79930534cffc676e2bbf6dfed73 (patch)
tree0b7769c185227c60e29071e7482cda276e8108fa /Makefile.bookup
parent8b31ba1579402498824400f25c7c413d85349403 (diff)
downloadbookup-97c78d6676e5a79930534cffc676e2bbf6dfed73.tar.gz
bookup-97c78d6676e5a79930534cffc676e2bbf6dfed73.tar.bz2
Fix: Makefile: compile_book: include files in the top-level content/published folder
Diffstat (limited to 'Makefile.bookup')
-rw-r--r--Makefile.bookup1
1 files changed, 1 insertions, 0 deletions
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