1
1

Merge branch '4320_syntax_location'

* 4320_syntax_location:
  Ticket #4320: syntax/Syntax: document location of syntax files.
Этот коммит содержится в:
Andrew Borodin 2022-12-18 14:27:04 +03:00
родитель 2df6771645 cea7d35209
Коммит 0ac611f15c
2 изменённых файлов: 19 добавлений и 1 удалений

Просмотреть файл

@ -680,7 +680,6 @@ lib/vfs/Makefile
lib/widget/Makefile lib/widget/Makefile
misc/syntax/Makefile misc/syntax/Makefile
misc/syntax/Syntax
doc/Makefile doc/Makefile
@ -706,6 +705,11 @@ doc/hlp/sr/Makefile
po/Makefile.in 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([ AC_CONFIG_FILES([
tests/Makefile tests/Makefile
tests/lib/Makefile tests/lib/Makefile

Просмотреть файл

@ -1,6 +1,20 @@
# This file describes which highlighting scheme is applied to a particular # This file describes which highlighting scheme is applied to a particular
# file in mcedit. # 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 # Each entry consists of two lines: a "file" specification and the
# corresponding highlighting definition ("include"). A file specification # corresponding highlighting definition ("include"). A file specification
# can have two or three fields, each separated by white-space characters. # can have two or three fields, each separated by white-space characters.