From: David Edmondson Date: Sun, 21 Mar 2010 09:54:08 +0000 (+0000) Subject: Makefile.local: Automatically use makefile mode X-Git-Tag: 0.1~13 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=d3884a5984c26159169d58b9cc8fb2a137fb48a2;hp=7b1566db8a2ba682d9e2b7a83a1d8793f92295f3 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. --- 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