Re: [PATCH] doc: gzipped notmuch.3 before trying to install notmuch.3.gz
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 25 Jan 2015 14:28:31 +0000 (16:28 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:49 +0000 (14:47 -0700)
3c/2b1090103a03dbba78db5e99286476a6956b6b [new file with mode: 0644]

diff --git a/3c/2b1090103a03dbba78db5e99286476a6956b6b b/3c/2b1090103a03dbba78db5e99286476a6956b6b
new file mode 100644 (file)
index 0000000..7766c76
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7A6EF431FBD\r
+       for <notmuch@notmuchmail.org>; Sun, 25 Jan 2015 06:29:05 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id m-8DRJf+YFgr for <notmuch@notmuchmail.org>;\r
+       Sun, 25 Jan 2015 06:28:59 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id F0285431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 25 Jan 2015 06:28:58 -0800 (PST)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 0389D100033;\r
+       Sun, 25 Jan 2015 16:28:32 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] doc: gzipped notmuch.3 before trying to install\r
+       notmuch.3.gz\r
+In-Reply-To: <1422194858-19490-1-git-send-email-david@tethera.net>\r
+References: <1421963721-17106-1-git-send-email-tomi.ollila@iki.fi>\r
+       <1422194858-19490-1-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.19+29~g7367d27 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sun, 25 Jan 2015 16:28:31 +0200\r
+Message-ID: <m2iofvrl2o.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 25 Jan 2015 14:29:07 -0000\r
+\r
+On Sun, Jan 25 2015, David Bremner <david@tethera.net> wrote:\r
+\r
+> If HAVE_SPHINX=0 but HAVE_DOXYGEN=1, then the previous version was\r
+> trying to install notmuch.3.gz but only got as far as creating\r
+> notmuch.3\r
+> ---\r
+>\r
+> doc/Makefile.local is messy enough that I found Tomi's fix hard to\r
+> follow. Probably the real answer is to fix some of this mess, but in the\r
+> mean time, what about this as an alternative fix?\r
+\r
+Sure looks simpler - I also couldn't figure out (just by quickly looking my\r
+patch) how that exactly made things work...\r
+\r
+This alternative fix is IMO good for the time being, and fixes a real\r
+problem. I wonder whether gzipped user docs are created at build time but\r
+gzipped apidocs just before install -- I might spare more time checking\r
+that when on my regular linux desktop (these alternatives are just too PITA\r
+to use ;) \r
+\r
+Tomi\r
+\r
+\r
+>\r
+>  doc/Makefile.local | 2 +-\r
+>  1 file changed, 1 insertion(+), 1 deletion(-)\r
+>\r
+> diff --git a/doc/Makefile.local b/doc/Makefile.local\r
+> index 0bdf2e1..e209749 100644\r
+> --- a/doc/Makefile.local\r
+> +++ b/doc/Makefile.local\r
+> @@ -60,7 +60,7 @@ install-man: install-apidocs\r
+>  ifeq ($(HAVE_DOXYGEN),1)\r
+>  MAN_GZIP_FILES += ${APIMAN}.gz\r
+>  apidocs: $(APIMAN)\r
+> -install-apidocs: apidocs\r
+> +install-apidocs: ${APIMAN}.gz\r
+>      mkdir -p "$(DESTDIR)$(mandir)/man3"\r
+>      install -m0644  $(DOCBUILDDIR)/man/man3/*.3.gz  $(DESTDIR)/$(mandir)/man3\r
+>  \r
+> -- \r
+> 2.1.4\r