help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ~/.../emacs/lib-src/blessmail owned by root?


From: Robert Pluim
Subject: Re: ~/.../emacs/lib-src/blessmail owned by root?
Date: Thu, 22 Aug 2024 15:47:17 +0200

>>>>> On Thu, 22 Aug 2024 15:16:37 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> so blessmail is built as part of running the 'install' target, but the
    >> lib-src Makefile only does that when itʼs needed, which is why it ends
    >> up as owned by root.
    >> 
    >> Itʼs not installed, but the lib-src Makefile will tell you if it needs
    >> to be run via the maybe-blessmail and need-blessmail targets.

    Eli> Thanks, so the solution seems to be to change the Makefile's so that
    Eli> blessmail is produce at build time, not "make install" time.

This seems to DTRT, although I donʼt have any systems that require
blessmail. I think this results in the 'need-blessmail' message being
output at build time rather than install time, which could be seen as
a problem.

diff --git a/Makefile.in b/Makefile.in
index 1b6c7eb05dc..30a762ed03b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -381,7 +381,7 @@ bootstrap-all:
 
 .PHONY: bootstrap-all actual-all advice-on-failure sanity-check
 
-actual-all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) 
src-depending-on-lisp
+actual-all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) 
src-depending-on-lisp blessmail
 
 # ADVICE-ON-FAILURE-BEGIN:all
 # You could try to:
@@ -602,7 +602,7 @@ .PHONY:
 ## don't have to duplicate the list of utilities to install in
 ## this Makefile as well.
 
-install: actual-all install-arch-indep install-etcdoc install-arch-dep 
install-$(NTDIR) blessmail install-eln install-gsettings-schemas
+install: actual-all install-arch-indep install-etcdoc install-arch-dep 
install-$(NTDIR) install-eln install-gsettings-schemas
        @true
 
 ## Ensure that $subdir contains a subdirs.el file.



Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]