1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 7F006431FCB
\r
6 for <notmuch@notmuchmail.org>; Thu, 22 Jan 2015 13:55:58 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id LRoY0VwewQ8l for <notmuch@notmuchmail.org>;
\r
16 Thu, 22 Jan 2015 13:55:55 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 2D3DC431FD2
\r
19 for <notmuch@notmuchmail.org>; Thu, 22 Jan 2015 13:55:55 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id D61DB1000F3; Thu, 22 Jan 2015 23:55:30 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [LATE NIGHT PATCH] build gzipped apidoc in case have doxygen but not
\r
26 Date: Thu, 22 Jan 2015 23:55:21 +0200
\r
27 Message-Id: <1421963721-17106-1-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 2.0.0
\r
29 Cc: tomi.ollila@iki.fi
\r
30 X-BeenThere: notmuch@notmuchmail.org
\r
31 X-Mailman-Version: 2.1.13
\r
33 List-Id: "Use and development of the notmuch mail system."
\r
34 <notmuch.notmuchmail.org>
\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
36 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
38 List-Post: <mailto:notmuch@notmuchmail.org>
\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
42 X-List-Received-Date: Thu, 22 Jan 2015 21:55:58 -0000
\r
44 In case we had doxygen but not sphinx notmuch.3 was created but
\r
45 notmuch.3.gz not -- which means install fails!
\r
46 This patch (with late night unpolished commit message will fix that)
\r
49 I'll do better one... hmm, next week (unless someone gets there first \o/)
\r
51 doc/Makefile.local | 11 ++++++-----
\r
52 1 file changed, 6 insertions(+), 5 deletions(-)
\r
54 diff --git a/doc/Makefile.local b/doc/Makefile.local
\r
55 index 0bdf2e12fc0f..41cba607947d 100644
\r
56 --- a/doc/Makefile.local
\r
57 +++ b/doc/Makefile.local
\r
58 @@ -32,7 +32,9 @@ sphinx-info: sphinx-texinfo
\r
60 -include $(dir)/docdeps.mk
\r
62 +ifeq ($(HAVE_SPHINX),1)
\r
63 MAN_GZIP_FILES := $(addsuffix .gz,${MAN_ROFF_FILES})
\r
66 # Use the man page converter that is available. We should never depend
\r
67 # on MAN_ROFF_FILES if a converter is not available.
\r
68 @@ -74,15 +76,14 @@ apidocs:
\r
72 -# Do not try to build or install man pages if a man page converter is
\r
74 +build-man: ${MAN_GZIP_FILES}
\r
75 +install-man: ${MAN_GZIP_FILES}
\r
77 ifeq ($(HAVE_SPHINX),0)
\r
80 @echo "No sphinx, will not install man pages."
\r
82 -build-man: ${MAN_GZIP_FILES}
\r
83 -install-man: ${MAN_GZIP_FILES}
\r
85 mkdir -p "$(DESTDIR)$(mandir)/man1"
\r
86 mkdir -p "$(DESTDIR)$(mandir)/man5"
\r
87 mkdir -p "$(DESTDIR)$(mandir)/man7"
\r