Discussion:
[bug-mailutils] mh bindir doesn't propagate to subdirs
Ken Brown
2017-04-21 13:35:26 UTC
Permalink
There seems to be a glitch in the build system so that the value of
bindir set in mh/Makefile.am doesn't propagate to the subdirs etc and tests.

I built using --with-mh-bindir=/usr/libexec/mu-mh. The resulting
mh/Makefile correctly had

bindir = /usr/libexec/mu-mh

but the Makefiles in etc and test had

bindir = ${exec_prefix}/bin

As a consequence, the mailutils-mh.el file that got built contained

(setq mh-progs "/usr/bin")

instead of

(setq mh-progs "/usr/libexec/mu-mh")

I'm sure there's a simple fix for this, but my knowledge of Automake is
not sufficient for me to provide a patch.

Ken
Ken Brown
2017-04-21 15:31:47 UTC
Permalink
Post by Ken Brown
There seems to be a glitch in the build system so that the value of
bindir set in mh/Makefile.am doesn't propagate to the subdirs etc and tests.
I guess this is irrelevant for the tests subdirectory. For etc, the
following trivial patch suffices:

--- a/mh/etc/Makefile.am
+++ b/mh/etc/Makefile.am
@@ -16,6 +16,7 @@
## along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>.

mhlibdir = $(pkgdatadir)/mh
+bindir = @MH_BIN_DIR@

LISPSRC = mailutils-mh.el
lisp_LISP = @lisp_LISP@

Ken
Sergey Poznyakoff
2017-04-22 06:30:59 UTC
Permalink
Hi Ken,
Post by Ken Brown
I guess this is irrelevant for the tests subdirectory. For etc, the
Thanks a lot. I'll apply this.

Regards,
Sergey

Loading...