From d3884a5984c26159169d58b9cc8fb2a137fb48a2 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Sun, 21 Mar 2010 09:54:08 +0000 Subject: [PATCH 1/1] Makefile.local: Automatically use makefile mode We add a magic line to the beginning of each Makefile.local file to help the editor know that it should use makefile mode for editing the file, (even though the filename isn't exactly "Makefile"). Edited-by: Carl Worth : Expand treatment from emacs/Makefile.local to each instance of Makefile.local. --- Makefile.local | 2 ++ compat/Makefile.local | 2 ++ emacs/Makefile.local | 2 ++ lib/Makefile.local | 2 ++ 4 files changed, 8 insertions(+) diff --git a/Makefile.local b/Makefile.local index c3fc7c5c..361b2a02 100644 --- a/Makefile.local +++ b/Makefile.local @@ -1,3 +1,5 @@ +# -*- makefile -*- + # Here's the (hopefully simple) versioning scheme. # # Releases of notmuch have a two-digit version (0.1, 0.2, etc.). We diff --git a/compat/Makefile.local b/compat/Makefile.local index 17b45140..81e6c707 100644 --- a/compat/Makefile.local +++ b/compat/Makefile.local @@ -1,3 +1,5 @@ +# -*- makefile -*- + dir := compat extra_cflags += -I$(dir) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index bda3997a..ee402e00 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -1,3 +1,5 @@ +# -*- makefile -*- + dir := emacs emacs_sources := $(dir)/notmuch.el diff --git a/lib/Makefile.local b/lib/Makefile.local index f5d61883..5f493ee9 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -1,3 +1,5 @@ +# -*- makefile -*- + # The major version of the library interface. This will control the soname. # As such, this number must be incremented for any incompatible change to # the library interface, (such as the deletion of an API or a major -- 2.43.0