Ticket #4320: syntax/Syntax: document location of syntax files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2022-12-04 16:26:40 +03:00
parent 2df6771645
commit cea7d35209
2 changed files with 19 additions and 1 deletions

View File

@ -680,7 +680,6 @@ lib/vfs/Makefile
lib/widget/Makefile
misc/syntax/Makefile
misc/syntax/Syntax
doc/Makefile
@ -706,6 +705,11 @@ doc/hlp/sr/Makefile
po/Makefile.in
])
dnl https://stackoverflow.com/questions/30897170/ac-subst-does-not-expand-variable/30932102#30932102
AC_CONFIG_FILES(
[misc/syntax/Syntax], [sed -i -e "s%\${prefix}%$PREFIX%" misc/syntax/Syntax], [export PREFIX=$prefix]
)
AC_CONFIG_FILES([
tests/Makefile
tests/lib/Makefile

View File

@ -1,6 +1,20 @@
# This file describes which highlighting scheme is applied to a particular
# file in mcedit.
#
#
# System-wide files (this and syntax definitions) are located in
# @datarootdir@/@PACKAGE@/syntax/ directory.
#
# User's files (this and syntax definitions) are located in
# ~/.local/share/@PACKAGE@/syntax directory.
#
# If user's file is missing, system-wide one is used.
#
#
# This file is rescanned on opening of every new editor file.
#
# Format of this file is following.
#
# Each entry consists of two lines: a "file" specification and the
# corresponding highlighting definition ("include"). A file specification
# can have two or three fields, each separated by white-space characters.