mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 03:18:08 +01:00
emacs: Use makefile-gmake-mode in Makefile*s
Use `makefile-gmake-mode' instead of `makefile-mode' because the former also highlights ifdef et al. while the latter does not. "./Makefile.global" and one "Makefile.local" failed to specify any major mode at all but doing so is necessary because Emacs does not automatically figure out that these are Makefiles (of any flavor).
This commit is contained in:
parent
177cd31fbd
commit
c454135376
12 changed files with 13 additions and 10 deletions
|
@ -1,3 +1,4 @@
|
|||
# -*- makefile-gmake -*-
|
||||
# Here's the (hopefully simple) versioning scheme.
|
||||
#
|
||||
# Releases of notmuch have a two-digit version (0.1, 0.2, etc.). We
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
.PHONY: all
|
||||
all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := bindings
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := compat
|
||||
extra_cflags += -I$(srcdir)/$(dir)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := completion
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := doc
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := emacs
|
||||
emacs_sources := \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := lib
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := parse-time-string
|
||||
extra_cflags += -I$(srcdir)/$(dir)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := performance-test
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := test
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- makefile -*-
|
||||
# -*- makefile-gmake -*-
|
||||
|
||||
dir := util
|
||||
extra_cflags += -I$(srcdir)/$(dir)
|
||||
|
|
Loading…
Reference in a new issue