Use conditional XML to simplify systemd vs sysv
|Reported by:||pierre||Owned by:||lfs-book|
An implementation proposal is in branch plabs/condxml. Basically, the entity &version; is set to svn (legacy for sysv) or systemd based on the value of entities &sysv; and &systemd;, which are set to INCLUDE or IGNORE in the file conditional.ent (INCLUDE and IGNORE are the only values possible for conditional in dtd's). This file itself is generated by git-version.sh, which receives the REV makefile variable as an argument.
With this, any use of versiond vs version is removed. All links to the BLFS book automatically point to the right revision.
Also, the conditional may be used in packages.ent, so that only the needed packages are used in wget-list.