Docs build

Cristian Marchi cri79 at libero.it
Mon Sep 5 09:48:07 EDT 2011


Good point. I noticed that locally the pdf files don't get rebuild if 
already existing but didn't considered that same could happen on 
server-side. What about renaming the compiled pdf so that next time 
"make pdf" works again? Would it be possible to include in the script 
something like:

mv gnucash-guide.pdf gnucash-guide-web.pdf (or even better a suffix 
"stable" or "unstable" instead of "web")

Regards
Cristian

Il 05/09/2011 14:16, Derek Atkins ha scritto:
> Hi,
>
> On Sun, September 4, 2011 3:56 pm, Cristian Marchi wrote:
>> Last question: looking in the docs build tree [1] I see that pdf files
>> are old. With what frequency the pdf and html files are generated?
> Hmm, they should be generated every night.  However it looks like the pdf
> does not get rebuilt.  Maybe the dependencies are wrong such that if the
> pdf exists it wont rebuild?  Looking at the docs build dir I see:
>
> [root at code trunk]# ls -l guide/C/gnucash-guide.pdf
> -rw-r--r--. 1 root root 7701032 Jul  2 03:20 guide/C/gnucash-guide.pdf
>
> Which means that the pdf target has not rebuilt since Jul 2.  However, the
> build rule *is*:
>
> make html pdf
>
> I'm going to change that to add epub in a minute.  Note that epub has the
> same problem.  Even with "make epub" it will not rebuild over an existing
> "gnucash-guide.epub".  At least that's true for everything except jp_JP.
> However the pdf rule will not rebuild the pdf if it exists.





More information about the gnucash-devel mailing list