why no simply take everything that is in the directory?
Right, if images are to be handled, we should take everything in the
output directory, not just *.html.
Also, at the end, we empty a directory, and then mv *html files
from one to the other, and kill the empty directory. Why didn't
we simply rename that directory?
As long we check that $outdir/html_node does not already exist, I guess
it's equivalent (and simpler).
Actually, why would we rename it instead of simply passing to -o the
wanted directory, instead of creating this directory?
No, this has nothing to do with -o. gendocs runs makeinfo to generate
the split HTML, which is created in a build subdirectory PACKAGE.html/.
This happens inside the source/build tree. Then we want to move the
results to the "target" $outdir directory ("manual/" by default), just
as we move the .pdf and the rest.
My questions are related to changes I am making to import the needed
images
TIA :).
k