/usr/share/source-highlight/makefile.lang is in libsource-highlight-common 3.1.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # Author: Maurizio Loreti, aka MLO or (HAM) I3NOO
# WWW: http://www.pd.infn.it/~loreti/mlo.html
#
######################################################################
# Language definitions for Makefiles; intended for source-highlight
# (see http://www.gnu.org/software/src-highlite).
######################################################################
# Modified by Lorenzo Bettini, http://www.lorenzobettini.it
# Declared symbols; e.g.:
# SOURCE = foo.c
# ^^^^^^^^ will be highlighted as "type" (default: dark green)
type = '^[a-zA-Z0-9_-]+[[:space:]]*='
# Special statements; e.g.:
# .PHONY: clean
# ^^^^^^^ will be highlighted as "preproc" (default: dark blue)
preproc = '^\.[a-zA-Z0-9_-]+[[:space:]]*:'
# automake/autoconf variables
preproc = '@(.+)@'
# Dependencies; e.g.:
# foo.o foo.z: foo.c
# ^^^^^^^^^^^^ will be highlighted as "symbol" (default: dark red)
symbol = '^([[:word:].[:space:]-])+:'
# Rules; e.g.:
# %.o:%.c
# ^^^^^^^ will be highlighted as "string" (default: red)
string = '%[a-zA-Z0-9_.-]+:%[a-zA-Z0-9_.-]+'
# filenames
normal = '([[:word:]-]*)\.([[:word:]-]+)'
# The statements following dependencies are for /bin/sh; so:
include "sh.lang"
|