]> git.eshelyaron.com Git - emacs.git/commit
Fix BSD .include etc syntax in Makefiles
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 12 Dec 2020 20:59:08 +0000 (21:59 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 12 Dec 2020 20:59:08 +0000 (21:59 +0100)
commit4bf98aecffe57648d15db90718134b00ac87ec3b
tree31c372fe90986366c8587e59a34b8c2d2ff3f82f
parent180e309d8b15b66b588438d157ed1290ab2de7df
Fix BSD .include etc syntax in Makefiles

* lisp/progmodes/make-mode.el (makefile-bsdmake-statements): Fix
the BSD conditional syntax (bug#24000).
(makefile-make-font-lock-keywords): Allow calling without keywords.
(makefile-bsdmake-font-lock-keywords): Add the conditional syntax.

     Makefile inclusion, conditional structures and for loops reminiscent of
     the C programming language are provided in make.  All such structures are
     identified by a line beginning with a single dot (`.') character.
     Whitespace characters may follow this dot, e.g.,

           .include <file>
     and
           .   include <file>

     are identical constructs
lisp/progmodes/make-mode.el