Re: Dependencies should include "realpath"

2020-10-20 Thread Tomi Ollila
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

Re: Dependencies should include "realpath"

2020-10-20 Thread Ralph Seichter
* 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

Re: Dependencies should include "realpath"

2020-10-19 Thread Tomi Ollila
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

Re: Dependencies should include "realpath"

2020-10-17 Thread Ralph Seichter
* 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'):

Re: Dependencies should include "realpath"

2020-10-17 Thread David Bremner
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

Re: Dependencies should include "realpath"

2020-10-16 Thread Ralph Seichter
* 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

Re: Dependencies should include "realpath"

2020-10-16 Thread David Bremner
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

Dependencies should include "realpath"

2020-10-16 Thread Ralph Seichter
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]