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:
Jonas Bernoulli 2020-08-08 13:49:49 +02:00 committed by David Bremner
parent 177cd31fbd
commit c454135376
12 changed files with 13 additions and 10 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
.PHONY: all
all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := bindings

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := compat
extra_cflags += -I$(srcdir)/$(dir)

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := completion

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := doc

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := emacs
emacs_sources := \

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := lib

View file

@ -1,3 +1,5 @@
# -*- makefile-gmake -*-
dir := parse-time-string
extra_cflags += -I$(srcdir)/$(dir)

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := performance-test

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := test

View file

@ -1,4 +1,4 @@
# -*- makefile -*-
# -*- makefile-gmake -*-
dir := util
extra_cflags += -I$(srcdir)/$(dir)