DJ Lucas wrote:
On 05/22/2016 01:31 PM, Bruce Dubbs wrote:
DJ Lucas wrote:
I might have missed the first message here. I had a minor issue with my
mail filter (after moving my mail host last week) and it was right around
the time the second message came in. Are you discussing merging the
books,
or moving to profiled XML to make two targets from one source?
Two targets from one source so we can share those files that are the
same for both books.
What I had in mind is a different indexd.xml for the systemd book along
with a systemd target in the Makefile. I want to try to prototype this
today in a new branch. If I get it working I'll commit that branch for
further review. For file naming, I plan to just append a 'd' to the
different files, ie indexd.xml vs index.xml.
If it works out, it should make the maintenance work for the systemd
version of the book a lot easier.
It should, and avoids adding anything specific for each book directly in
the XML source as proposed here:
http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2014-February/026800.html
The part I had no creative ideas about was the split changelog (ie: having
to put changes in both changelogs), which is why I had ultimately
suggested the above simple changes.
I had completely forgotten about that message thread from two years ago.
I find the idea of using <phrase> interesting. It looks a lot like the
html <span> to me. With some xml changes we might be able to use that.
For right now I will try to do something a little less sophisticated, but
it is something to consider after we get a merged repo working. That way
we should be able to merge those sections into one file where it makes
sense. Of course there are some entire pages that are different. For
instance sysvinit does not go into the systemd book and dbus does not go
into the sysv book.
For right now, I think we should mark version specific change log entries
with [systemd] and [sysv] as appropriate and nothing extra for those
changes that apply to both books.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page