The template named generate-basic-index in
{docbook-xsl}/xhtml/autoidx.xsl has a bug that generates a div element
with a wrong xmlns:xlink attribute. See
https://github.com/docbook/xslt10-stylesheets/issues/239.
Rather than fixing docbook-xsl, which would work only in LFS (but we
want to be able to render on other distros), copy the faulty template
to our customization files (lfs-index.xsl), so that this one is used.
We can also simplify it a lot since we don't need all the cases
covered in general docbook-xsl.
Also remove the sed for this bug in the Makefile.
If an important file is changed, we regenerate version.ent and so bump
the revision. Otherwise, version.ent may be kept. Hack git-version.sh
so we can ensure version.ent is really not changed.
Add Makefile itself and git-version.sh into the important file list as
they can definitely affect book rendering.
If nothing has changed in the book, there is no need to regenerate
version.ent, blfs-full.xml, etc... So only make version.ent
.PHONY if REV has changed.
We will change pythonhosted.xml to incorporate all python modules
(perhaps excepting PyXDG) at https://files.pythonhosted.org
and move it to the top of the Python Modules page.
We will need to place the md5sums for the module sources in packages.ent
so they can be referenced in two places.
For now, remove the page from the build. Later we will need to clean up
Makefile and archive stylesheets/{pyhosted-inc,pythonhosted}.xsl.
Created a new file, dummy.xml, that is copied to
./general/prog/python-dependencies/pythonhosted.xml
if that file does not already exist. This avoids a warning
when generating the book for the first time after
cloning the source from the repository.
the python module pages include general.ent, which needs
conditional.ent and version.ent, so that should exist for generating
pythonhosted.xml. OTOH, what is in version.ent doesn't matter.
Makefile's use files for their dependency calculations. Since
git-version.sh generates files (version.ent and conditional.ent)
use version.ent to see whether git-version.sh has been run.
The only target that should depend on version.ent is then
$(BLFS_FULL) since all other targets depend (directly or indirectly
on this one).
version.ent itself depends on any change made to xml files, xsl files,
packages.ent, general.ent. We could add more (Makefile, gnome.ent, some
scripts), but let's see whether we really want it.
There was some consistency issues in URLs to LFS. For example, in
systemd revision the URL to LFS "General Network Configuration" points
to the sysv book, this can be really troubling to new readers.
Instead of fixing them one by one, merge conditional XML developed by
Pierre from LFS.
- with a slight change of the css stylesheet, allows having the glossary
title in the same style as the others
- tested with docbook-xsl 1.78.1, 1.79.1, 1.79.2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22137 af4574ff-66df-0310-9fd7-8a98e5e911e0
Add target to Makefile to create bootscripts.
Fix a url in apache.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13181 af4574ff-66df-0310-9fd7-8a98e5e911e0
Thanks to Alexander for pointing out a much easier way to do this. I
think this should take care of nearly all the corner cases and allow
re-rendering to only occur when something has actually changed.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7384 af4574ff-66df-0310-9fd7-8a98e5e911e0