diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-07 23:12:41 +0100 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-07 23:12:41 +0100 |
commit | 97c78d6676e5a79930534cffc676e2bbf6dfed73 (patch) | |
tree | 0b7769c185227c60e29071e7482cda276e8108fa | |
parent | 8b31ba1579402498824400f25c7c413d85349403 (diff) | |
download | bookup-97c78d6676e5a79930534cffc676e2bbf6dfed73.tar.gz bookup-97c78d6676e5a79930534cffc676e2bbf6dfed73.tar.bz2 |
Fix: Makefile: compile_book: include files in the top-level content/published folder
-rw-r--r-- | Makefile.bookup | 1 |
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 |