From 31b972030fe2a1fb133683fe471a45fde79ba1c0 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sat, 25 Jan 2014 12:21:49 +0200 Subject: [PATCH] [PATCH 1/1] emacs: always write emacs/.eldeps when the target is remade --- 7f/2d14dcea857cbdb313b4a4ac39c45f52c255b2 | 65 +++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 7f/2d14dcea857cbdb313b4a4ac39c45f52c255b2 diff --git a/7f/2d14dcea857cbdb313b4a4ac39c45f52c255b2 b/7f/2d14dcea857cbdb313b4a4ac39c45f52c255b2 new file mode 100644 index 000000000..abc5ec937 --- /dev/null +++ b/7f/2d14dcea857cbdb313b4a4ac39c45f52c255b2 @@ -0,0 +1,65 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id D6A7C431FBC + for ; Sat, 25 Jan 2014 02:22:04 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id HqBTtJfvQlwt for ; + Sat, 25 Jan 2014 02:21:58 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 8F769431FB6 + for ; Sat, 25 Jan 2014 02:21:58 -0800 (PST) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 13A3A1000C1; Sat, 25 Jan 2014 12:21:51 +0200 (EET) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Subject: [PATCH 1/1] emacs: always write emacs/.eldeps when the target is + remade +Date: Sat, 25 Jan 2014 12:21:49 +0200 +Message-Id: <1390645309-2326-1-git-send-email-tomi.ollila@iki.fi> +X-Mailer: git-send-email 1.8.0 +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 25 Jan 2014 10:22:05 -0000 + +So that the target is newer than its prerequisites. +--- + emacs/Makefile.local | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/emacs/Makefile.local b/emacs/Makefile.local +index 42bfbd9..d5d402e 100644 +--- a/emacs/Makefile.local ++++ b/emacs/Makefile.local +@@ -32,8 +32,7 @@ emacs_bytecode = $(emacs_sources:.el=.elc) + ifeq ($(HAVE_EMACS),1) + $(dir)/.eldeps: $(dir)/Makefile.local $(dir)/make-deps.el $(emacs_sources) + $(call quiet,EMACS) --directory emacs -batch -l make-deps.el \ +- -f batch-make-deps $(emacs_sources) > $@.tmp && \ +- (cmp -s $@.tmp $@ || mv $@.tmp $@) ++ -f batch-make-deps $(emacs_sources) > $@.tmp && mv $@.tmp $@ + -include $(dir)/.eldeps + endif + CLEAN+=$(dir)/.eldeps $(dir)/.eldeps.tmp +-- +1.8.0 + -- 2.26.2