Creating html files from svn mplayer xml?
Hi,
I have been trying to convert the english xml docs for the svn mplayer to html: http://svn.mplayerhq.hu/mplayer/trunk/DOCS/xml/ Has anybody had any experience or success with this? I could not work out the built in compiling process and could not convert the files manually with xlstproc. Ignorance was a major impediment in both cases :-) Thanks for any advice, Andrew |
Looks like maybe:
make html-single or: make html-chunked might be what you are looking for. Any way, have a look at the Makefile for more ideas. |
Thanks Gnashley, that got me started. Looks like the configure script is not too bright and is not looking in the locations that Slackware stores 3 relevant files: an XML catalog file: "catalog", "html/chunk.xsl" and "docbook.xsl". Once I edited the configure script and directed it on the appropriate path I have been able to create the html files (although not for english only yet!).
Thanks again, Andrew |
Hi,
I have managed to solve the problem completely and incorporate the solution into my home-grown SlackBuild script. For anybody that is ever interested in the same thing below is my solution, I would be very receptive to anybody pointing out errors in my technique: 1. Modify the configure script that sets up the xml to html process by adding the following, which are default paths in Slackware 12. Relevant sections and additions are: Code:
[...] 2. Add the following section to the script. I have commented it fairly extensively: Code:
# Create a directory for documentation: Any thoughts on this one? I have not done anything quite this complex before so I have probably gone about it a very long way :-) Andrew |
All times are GMT -5. The time now is 02:10 AM. |