Restructure xmlroff source code?

Tony Graham <[email protected]> Fri, 14 Apr 2006 14:10:25 +0100
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
Oliver Kiddle made the suggestion a while ago to restructure the xmlroff
source code to make it easier to compile just libfo.

Being able to compile just libfo would cut very little time from compiling
libfo and xmlroff, but restructuring the source might make it easier to
understand what's what.

To get an idea of what I propose, execute this on an 'xmlroff' directory that
you're not otherwise using:

mkdir tmp
mv area datatype expr fo libfo property util tmp
mv tmp libfo
mv fo*.[ch] area-to-pdf.[ch] libfo
mkdir xmlroff
mv xmlroff.c xmlroff
mv libfo/fo-all-area.h libfo/area
mv libfo/fo-all-datatype.h libfo/datatype
mv libfo/fo-all-fo.h libfo/fo


This would require a new libfo/Makefile.am and quite a few other changes, I'm
sure, before it compiled successfully and the docs could be rebuilt, but you
get the idea.

Regards,


Tony.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642