[PATCH 1/1] emacs: always write emacs/.eldeps when the target is remade

Tomi Ollila tomi.ollila at iki.fi
Sat Jan 25 02:21:49 PST 2014


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



More information about the notmuch mailing list