diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-09 11:43:57 +0100 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-09 11:43:57 +0100 |
commit | ab90f9241d0867206858c306c8d7fb08ee7f0275 (patch) | |
tree | d5061787f1ffab4e4a55bf664f1be3e54279ce10 /bin | |
parent | 08fe9f739dcf1570ce0321db979a410fe61ebd60 (diff) | |
download | bookup-ab90f9241d0867206858c306c8d7fb08ee7f0275.tar.gz bookup-ab90f9241d0867206858c306c8d7fb08ee7f0275.tar.bz2 |
Feat: automatically include all _biblio.yml files in the output
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/compile-book | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/compile-book b/bin/compile-book index 42f7f67..75c417b 100755 --- a/bin/compile-book +++ b/bin/compile-book @@ -18,7 +18,9 @@ rm -f $OUTPUT.md $OUTPUT.Rmd cat _bookup.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md # Bibliography -cat _biblio.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md +find -name _biblio.yml | while read file; do + cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md +done # YAML headers for file in $BASEDIR/structure/00*.yml; do |