On Tue, Oct 20 2020, Ralph Seichter wrote:
> * Tomi Ollila:
>
>>> rsti_dir = os.path.abspath('emacs')
>>
>> Good suggestion, anyway, the simplest change would be just:
>>
>> - printf "rsti_dir = '%s'\n" $(realpath emacs)
>> + printf "rsti_dir = '%s'\n" $(cd emacs && pwd -P)
>
> Looks like "pwd
* Tomi Ollila:
>> rsti_dir = os.path.abspath('emacs')
>
> Good suggestion, anyway, the simplest change would be just:
>
> - printf "rsti_dir = '%s'\n" $(realpath emacs)
> + printf "rsti_dir = '%s'\n" $(cd emacs && pwd -P)
Looks like "pwd -P" is part of the Open Group base spec for pwd, so it
On Sat, Oct 17 2020, Ralph Seichter wrote:
> * David Bremner:
>
>> Do you have a suggested replacement? I guess some inline perl with "use
>> Cwd 'realpath'" would probably work, although I haven't tested it.
>
> At a quick glance, that particular section of "configure" is run by
> doc/conf.py to
* David Bremner:
> I'm not sure what an "overhaul" would involve.
Looking at conf.py, I find the following confusing:
lines = ['.. include:: /../emacs/rstdoc.rsti\n\n'] # in the source tree
for file in ('notmuch.rsti', 'notmuch-lib.rsti', 'notmuch-show.rsti',
'notmuch-tag.rsti'):
Ralph Seichter writes:
> * David Bremner:
>
>> Do you have a suggested replacement? I guess some inline perl with "use
>> Cwd 'realpath'" would probably work, although I haven't tested it.
>
> At a quick glance, that particular section of "configure" is run by
> doc/conf.py to generate three
* David Bremner:
> Do you have a suggested replacement? I guess some inline perl with "use
> Cwd 'realpath'" would probably work, although I haven't tested it.
At a quick glance, that particular section of "configure" is run by
doc/conf.py to generate three lines of Python code and store the
Ralph Seichter writes:
> Since this issue just came up related to my MacPorts port: The list of
> dependencies for notmuch should include "realpath". configure [1] relies
> on realpath to generate the value for rsti_dir.
>
Do you have a suggested replacement? I guess some inline perl with "use
Since this issue just came up related to my MacPorts port: The list of
dependencies for notmuch should include "realpath". configure [1] relies
on realpath to generate the value for rsti_dir.
[1]