Re: command line param to keep FO file in PDF output?

Mark Giffin <[email protected]> Thu, 11 Mar 2021 23:12:33 -0800
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
Thanks Tony, I'll keep this makefile tip in mind. But it turns out that 
the FO file was deleted by a shell script that was called by the makefile.

Regards,
Mark

On 3/3/2021 11:55 PM, Tony Graham wrote:
> On 04/03/2021 04:33, Mark Giffin wrote:
>> It's starting to come back to me. I think that the default when
>> creating a PDF with DocBook XSL is for the FO file to remain there on
>> the drive unmolested. So I think I need to point a finger at my
>> makefiles. Sorry to be a bother.
>
> Since you are using Make, run the rule to make the FO file once so that
> there is an intermediate FO file there when Make next runs.
>
> Make will automatically delete intermediate files that weren't there
> when it started, but will preserve updated intermediate files that were
> already there:
>
> https://www.gnu.org/software/make/manual/html_node/Chained-Rules.html
>
> Regards,
>
>
> Tony Graham.