[systemd-devel] [PATCH 0/2] Using XML entities for paths in manpages
daniel at zonque.org
Tue Jun 2 03:04:38 PDT 2015
On 06/02/2015 11:25 AM, Martin Pitt wrote:
> Daniel Mack [2015-05-29 11:05 +0200]:
>> 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.
> FTR, this works fine here, using --with-rootprefix= (to avoid the
> extra slashes). This spawned a long thread and multiple followup
> patches, and TBH I lost track which patches got proposed and which are
> superseded; but this one looks good to me. Thank you!
Michael came up with a nicer approach to sanitize all path arguments to
configure and strip trailing slashes before the Makefile variables are
substituted. I think we should go for that. I'll collect patches and
prepare a pull request later.
More information about the systemd-devel