From b6f47873520faf47738e598139ae0b506c964701 Mon Sep 17 00:00:00 2001 From: crc Date: Thu, 15 Oct 2020 20:23:36 +0000 Subject: [PATCH] build: fix a bug causing loss of the Markdown copy when building the .epub FossilOrigin-Name: 5b1826cb48f9b3bc5cea70d9be4e83313ef8e556980fba1eca17f1290bcff6d1 --- RELEASE-NOTES | 2 ++ tools/epub/chapters-to-xhtml.retro | 9 ++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 83ae5cb..5edde08 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -18,6 +18,8 @@ so you can now build RETRO without needing a C compiler. (thanks to Scott McCallum for reporting this) - fixed the `sh` instruction (which was totally broken prior to this, thanks to Scott for reporting this) +- `retro-describe` no longer uses the `-J` parameter when invoking + `xargs` which should let it work on non-BSD systems. ## Build Improvements diff --git a/tools/epub/chapters-to-xhtml.retro b/tools/epub/chapters-to-xhtml.retro index 912bff6..71f372f 100755 --- a/tools/epub/chapters-to-xhtml.retro +++ b/tools/epub/chapters-to-xhtml.retro @@ -23,13 +23,8 @@ for me. ~~~ 'Out var -:import BOOK-BASE over OUT-BASE '>%s%s.html_retro_example/markdown-to-xhtml.retro_%s%s s:format unix:system ; -:/n ASCII:LF @Out file:write ; -:add-to-book here [ @Out file:write ] s:for-each ; -:process-files [ #1 a:fetch import $. c:put ] a:for-each nl ; -:open 'doc/RETRO-Book.md file:open-for-writing !Out ; -:close @Out file:close ; -:assemble open process-files close ; +:import BOOK-BASE over OUT-BASE '>%s%s.html_retro_example/markdown-to-xhtml.retro_%s%s s:format unix:system ; +:assemble [ #1 a:fetch import $. c:put ] a:for-each nl ; ~~~ ~~~