unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] Install notmuch-git during make install
@ 2024-08-22 12:27 Martin Jambor
  2024-08-22 13:03 ` Michael J Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jambor @ 2024-08-22 12:27 UTC (permalink / raw)
  To: notmuch

Hi,

I have noticed that notmuch-git was not being copied to an appropriate
destination during make install.  This patch adds that.

---
 Makefile.local | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.local b/Makefile.local
index 7699c208..34e8b882 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -278,6 +278,7 @@ notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
 install: all install-man install-info
 	mkdir -p "$(DESTDIR)$(prefix)/bin/"
 	install notmuch-shared "$(DESTDIR)$(prefix)/bin/notmuch"
+	install notmuch-git "$(DESTDIR)$(prefix)/bin/notmuch-git"
 ifeq ($(MAKECMDGOALS), install)
 	@echo ""
 	@echo "Notmuch is now installed to $(DESTDIR)$(prefix)"
-- 
2.46.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] Install notmuch-git during make install
  2024-08-22 12:27 [PATCH] Install notmuch-git during make install Martin Jambor
@ 2024-08-22 13:03 ` Michael J Gruber
  2024-08-23 15:42   ` David Bremner
  2024-08-23 15:46   ` Martin Jambor
  0 siblings, 2 replies; 5+ messages in thread
From: Michael J Gruber @ 2024-08-22 13:03 UTC (permalink / raw)
  To: Martin Jambor; +Cc: notmuch

Am Do., 22. Aug. 2024 um 14:37 Uhr schrieb Martin Jambor <mjambor@suse.cz>:
>
> Hi,
>
> I have noticed that notmuch-git was not being copied to an appropriate
> destination during make install.  This patch adds that.
>
> ---
>  Makefile.local | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Makefile.local b/Makefile.local
> index 7699c208..34e8b882 100644
> --- a/Makefile.local
> +++ b/Makefile.local
> @@ -278,6 +278,7 @@ notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
>  install: all install-man install-info
>         mkdir -p "$(DESTDIR)$(prefix)/bin/"
>         install notmuch-shared "$(DESTDIR)$(prefix)/bin/notmuch"
> +       install notmuch-git "$(DESTDIR)$(prefix)/bin/notmuch-git"

notmuch-git(1) mentions nmbug, so we'd want to install that as well, don't we?

>  ifeq ($(MAKECMDGOALS), install)
>         @echo ""
>         @echo "Notmuch is now installed to $(DESTDIR)$(prefix)"
> --
> 2.46.0
>
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Install notmuch-git during make install
  2024-08-22 13:03 ` Michael J Gruber
@ 2024-08-23 15:42   ` David Bremner
  2024-08-23 15:46   ` Martin Jambor
  1 sibling, 0 replies; 5+ messages in thread
From: David Bremner @ 2024-08-23 15:42 UTC (permalink / raw)
  To: Michael J Gruber, Martin Jambor; +Cc: notmuch

Michael J Gruber <michaeljgruber+grubix+git@gmail.com> writes:


> notmuch-git(1) mentions nmbug, so we'd want to install that as well, don't we?
>

FWIW, we do in Debian. But I am probably biased as one of the main users
of nmbug and the Debian package maintainer.

d

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Install notmuch-git during make install
  2024-08-22 13:03 ` Michael J Gruber
  2024-08-23 15:42   ` David Bremner
@ 2024-08-23 15:46   ` Martin Jambor
  2024-08-24 16:17     ` Michael J Gruber
  1 sibling, 1 reply; 5+ messages in thread
From: Martin Jambor @ 2024-08-23 15:46 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: notmuch

Hi,

On Thu, Aug 22 2024, Michael J Gruber wrote:
> Am Do., 22. Aug. 2024 um 14:37 Uhr schrieb Martin Jambor <mjambor@suse.cz>:
>>
>> Hi,
>>
>> I have noticed that notmuch-git was not being copied to an appropriate
>> destination during make install.  This patch adds that.
>>
>> ---
>>  Makefile.local | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Makefile.local b/Makefile.local
>> index 7699c208..34e8b882 100644
>> --- a/Makefile.local
>> +++ b/Makefile.local
>> @@ -278,6 +278,7 @@ notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
>>  install: all install-man install-info
>>         mkdir -p "$(DESTDIR)$(prefix)/bin/"
>>         install notmuch-shared "$(DESTDIR)$(prefix)/bin/notmuch"
>> +       install notmuch-git "$(DESTDIR)$(prefix)/bin/notmuch-git"
>
> notmuch-git(1) mentions nmbug, so we'd want to install that as well, don't we?

I don't know.   I have never even contemplated using it but it looks
much more like an internal tool to me.

However, after a discussion about notmuch-git on the IRC I learned that
there may be plans to change it, so perhaps even my patch should be
postponed until after that.  I really don't know.

Martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Install notmuch-git during make install
  2024-08-23 15:46   ` Martin Jambor
@ 2024-08-24 16:17     ` Michael J Gruber
  0 siblings, 0 replies; 5+ messages in thread
From: Michael J Gruber @ 2024-08-24 16:17 UTC (permalink / raw)
  To: Martin Jambor; +Cc: notmuch

Am Fr., 23. Aug. 2024 um 17:46 Uhr schrieb Martin Jambor <mjambor@suse.cz>:
>
> Hi,
>
> On Thu, Aug 22 2024, Michael J Gruber wrote:
> > Am Do., 22. Aug. 2024 um 14:37 Uhr schrieb Martin Jambor <mjambor@suse.cz>:
> >>
> >> Hi,
> >>
> >> I have noticed that notmuch-git was not being copied to an appropriate
> >> destination during make install.  This patch adds that.
> >>
> >> ---
> >>  Makefile.local | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/Makefile.local b/Makefile.local
> >> index 7699c208..34e8b882 100644
> >> --- a/Makefile.local
> >> +++ b/Makefile.local
> >> @@ -278,6 +278,7 @@ notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
> >>  install: all install-man install-info
> >>         mkdir -p "$(DESTDIR)$(prefix)/bin/"
> >>         install notmuch-shared "$(DESTDIR)$(prefix)/bin/notmuch"
> >> +       install notmuch-git "$(DESTDIR)$(prefix)/bin/notmuch-git"
> >
> > notmuch-git(1) mentions nmbug, so we'd want to install that as well, don't we?
>
> I don't know.   I have never even contemplated using it but it looks
> much more like an internal tool to me.
>
> However, after a discussion about notmuch-git on the IRC I learned that
> there may be plans to change it, so perhaps even my patch should be
> postponed until after that.  I really don't know.

I just think that if the doc points to both we should install both.

In Debian and Fedora, we do so already - in a sub-package, that is. An
equivalent could be a make target which installs both but isn't
necessarily part of the install target.
nmbug is just a link to notmuch-git, btw.

Cheers
Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-24 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22 12:27 [PATCH] Install notmuch-git during make install Martin Jambor
2024-08-22 13:03 ` Michael J Gruber
2024-08-23 15:42   ` David Bremner
2024-08-23 15:46   ` Martin Jambor
2024-08-24 16:17     ` Michael J Gruber

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).