unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] doc: Makefile: stop build notmuch-emacs.info when not have emacs
@ 2019-06-11 15:09 Doan Tran Cong Danh
  2019-06-11 15:21 ` Ralph Seichter
  0 siblings, 1 reply; 3+ messages in thread
From: Doan Tran Cong Danh @ 2019-06-11 15:09 UTC (permalink / raw)
  To: notmuch

Current behavior:
- When build on system without emacs:

./configure --without-emacs
make
make install

`make install` failed with:
> /usr/bin/install: cannot stat 'doc/_build/texinfo/notmuch-emacs.info': No such file or directory

Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
---
I don't know if this is a _good_ fix for this issue.
This is my quick-and-dirty patch to package notmuch for Void Linux.
 doc/Makefile.local | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/Makefile.local b/doc/Makefile.local
index 719172fe..732d92f5 100644
--- a/doc/Makefile.local
+++ b/doc/Makefile.local
@@ -28,7 +28,10 @@ MAN_GZIP_FILES := $(addsuffix .gz,${MAN_ROFF_FILES})
 MAN1_TEXI := $(patsubst $(srcdir)/doc/man1/%.rst,$(DOCBUILDDIR)/texinfo/%.texi,$(MAN1_RST))
 MAN5_TEXI := $(patsubst $(srcdir)/doc/man5/%.rst,$(DOCBUILDDIR)/texinfo/%.texi,$(MAN5_RST))
 MAN7_TEXI := $(patsubst $(srcdir)/doc/man7/%.rst,$(DOCBUILDDIR)/texinfo/%.texi,$(MAN7_RST))
-INFO_TEXI_FILES := $(MAN1_TEXI) $(MAN5_TEXI) $(MAN7_TEXI) $(DOCBUILDDIR)/texinfo/notmuch-emacs.texi
+INFO_TEXI_FILES := $(MAN1_TEXI) $(MAN5_TEXI) $(MAN7_TEXI)
+ifeq ($(WITH_EMACS),1)
+INFO_TEXI_FILES := $(INFO_TEXI_FILES) $(DOCBUILDDIR)/texinfo/notmuch-emacs.texi
+endif
 INFO_INFO_FILES := $(INFO_TEXI_FILES:.texi=.info)
 
 .PHONY: sphinx-html sphinx-texinfo sphinx-info
-- 
2.22.0.rc1.479.gd8fdbe21b5

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

* Re: [PATCH] doc: Makefile: stop build notmuch-emacs.info when not have emacs
  2019-06-11 15:09 [PATCH] doc: Makefile: stop build notmuch-emacs.info when not have emacs Doan Tran Cong Danh
@ 2019-06-11 15:21 ` Ralph Seichter
  2019-06-11 15:41   ` Danh Doan
  0 siblings, 1 reply; 3+ messages in thread
From: Ralph Seichter @ 2019-06-11 15:21 UTC (permalink / raw)
  To: notmuch

* Doan Tran Cong Danh:

> I don't know if this is a _good_ fix for this issue.

Did you see id:20190611005024.22814-2-david@tethera.net ?

-Ralph

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

* Re: [PATCH] doc: Makefile: stop build notmuch-emacs.info when not have emacs
  2019-06-11 15:21 ` Ralph Seichter
@ 2019-06-11 15:41   ` Danh Doan
  0 siblings, 0 replies; 3+ messages in thread
From: Danh Doan @ 2019-06-11 15:41 UTC (permalink / raw)
  To: notmuch, Ralph Seichter

No, I haven't seen it, until now.
I used to follow the list but I stopped using notmuch.
It seems like David has come up with a fix.
I'll check the list first, next time.

On June 11, 2019 3:21:42 PM UTC, Ralph Seichter <abbot@monksofcool.net> wrote:
>* Doan Tran Cong Danh:
>
>> I don't know if this is a _good_ fix for this issue.
>
>Did you see id:20190611005024.22814-2-david@tethera.net ?
>
>-Ralph
>_______________________________________________
>notmuch mailing list
>notmuch@notmuchmail.org
>https://notmuchmail.org/mailman/listinfo/notmuch

-- 
Danh

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

end of thread, other threads:[~2019-06-11 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-11 15:09 [PATCH] doc: Makefile: stop build notmuch-emacs.info when not have emacs Doan Tran Cong Danh
2019-06-11 15:21 ` Ralph Seichter
2019-06-11 15:41   ` Danh Doan

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).