[systemd-devel] [PATCH 0/2] Using XML entities for paths in manpages

Daniel Mack daniel at zonque.org
Fri May 29 02:05:12 PDT 2015

On 05/29/2015 05:18 AM, Michael Biebl wrote:
> 2015-05-28 19:47 GMT+02:00 Filipe Brandenburger <filbranden at google.com>:
>> We're actually still missing a small part of it (A sentence like
>> "Files in /etc have the highest priority, files in /run take
>> precedence over files with the same name in */usr/lib*." in files like
>> hwdb.xml, the last /usr/lib won't get fixed) but it requires new
>> variables. I'm leaning towards introducing a rootsysconfdir=/etc and
>> rootlibdir=$(rootprefix)/lib (we already have a rootbindir) so I'll
>> follow up with a patch doing that.
>> Though having the first patchset in certainly helps.
> Indeed. I just ran my small shell script which I used to generate the
> original diff over current git head.
> The only occurences which it still replaces can be found at [1].
> It's like you said, the override bits which are still missing.
> Otherwise it looks fine.

Could you try the attached patch?

I had to introduce a new entity in custom-entites.ent, because with
"--with-rootprefix=/", "&rootprefix;/lib" resolves to "//lib", and with
the default behaviour of configure, "&rootprefix;lib" becomes "/usrlib".

That is solved with a subsitiution in Makefile.am now, which cleans up
all double slashes in custom-entites.ent.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-man-replace-hard-coded-usr-lib.patch
Type: text/x-diff
Size: 6665 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150529/c3bfe4f4/attachment.patch>

More information about the systemd-devel mailing list