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 F01D1431FBD
\r
6 for <notmuch@notmuchmail.org>; Sat, 25 Jan 2014 04:34:10 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 VkPK-8i3FNmt for <notmuch@notmuchmail.org>;
\r
16 Sat, 25 Jan 2014 04:34:04 -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 AB30C431FBC
\r
19 for <notmuch@notmuchmail.org>; Sat, 25 Jan 2014 04:34:04 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id C10A61000C1; Sat, 25 Jan 2014 14:33:56 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 1/1] build: delete the default .SUFFIXES
\r
25 Date: Sat, 25 Jan 2014 14:33:55 +0200
\r
26 Message-Id: <1390653235-4291-1-git-send-email-tomi.ollila@iki.fi>
\r
27 X-Mailer: git-send-email 1.8.0
\r
28 Cc: tomi.ollila@iki.fi
\r
29 X-BeenThere: notmuch@notmuchmail.org
\r
30 X-Mailman-Version: 2.1.13
\r
32 List-Id: "Use and development of the notmuch mail system."
\r
33 <notmuch.notmuchmail.org>
\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
35 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
37 List-Post: <mailto:notmuch@notmuchmail.org>
\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
41 X-List-Received-Date: Sat, 25 Jan 2014 12:34:11 -0000
\r
43 All implicit rules in notmuch Makefiles are "pattern rules"; Deleting the
\r
44 default suffixes (to support obsolete, old-fashioned "suffix rules") from
\r
45 make reduces the output of 'make -d' by 40 to 90 percent, helping e.g.
\r
46 debugging make problems.
\r
49 output size comparisons:
\r
51 full-build: script -c 'make -d'
\r
53 3159626 Jan 25 14:21 typescript-with-suffixes
\r
54 430453 Jan 25 14:22 typescript-sans-suffixes
\r
56 build with nothing to do:
\r
58 3054310 Jan 25 12:10 typescript-with-suffixes
\r
59 5435585 Jan 25 12:07 typescript-sans-suffixes
\r
61 Makefile.local | 2 ++
\r
62 1 file changed, 2 insertions(+)
\r
64 diff --git a/Makefile.local b/Makefile.local
\r
65 index c85e09c..174506c 100644
\r
66 --- a/Makefile.local
\r
67 +++ b/Makefile.local
\r
68 @@ -325,3 +325,5 @@ DISTCLEAN := $(DISTCLEAN) .first-build-message Makefile.config
\r
69 DEPS := $(SRCS:%.c=.deps/%.d)
\r
70 DEPS := $(DEPS:%.cc=.deps/%.d)
\r
73 +.SUFFIXES: # Delete the default suffixes. Old-Fashioned Suffix Rules not used.
\r