build: fix a bug causing loss of the Markdown copy when building the .epub

FossilOrigin-Name: 5b1826cb48f9b3bc5cea70d9be4e83313ef8e556980fba1eca17f1290bcff6d1
This commit is contained in:
crc 2020-10-15 20:23:36 +00:00
parent 33118ff158
commit b6f4787352
2 changed files with 4 additions and 7 deletions

View file

@ -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

View file

@ -24,12 +24,7 @@ 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 ;
:assemble [ #1 a:fetch import $. c:put ] a:for-each nl ;
~~~
~~~