From 88ba851893362dacdbde6ff9527675b07affff27 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 23 Jan 2023 23:03:57 -0300 Subject: build: move syntax files to contrib/syntax/files Having all of syntax files in the same directory makes it easier to reference all of them at once on a makefile (such as with `contrib/syntax/files/*.in`). Also, this makes the path to the gtksourceview language-spec shorter. Current path/new path: * contrib/gtksourceview-5/language-specs/firejail-profile.lang * contrib/syntax/files/firejail-profile.lang Currently, adding a rule to the root Makefile to generate the language-spec in the same directory as an input file would take at least 95 characters (with only a single dependency): contrib/gtksourceview-5/language-specs/%.lang: contrib/gtksourceview-5/language-specs/%.lang.in With this commit, the above shortened to 59 characters: contrib/syntax/files/%.lang: contrib/syntax/files/%.lang.in Which should make it more readable. Relates to #2679 #5502. --- .../language-specs/firejail-profile.lang | 69 -------------- contrib/syntax/files/firejail-profile.lang | 69 ++++++++++++++ contrib/syntax/files/firejail.vim | 104 +++++++++++++++++++++ contrib/vim/syntax/firejail.vim | 104 --------------------- 4 files changed, 173 insertions(+), 173 deletions(-) delete mode 100644 contrib/gtksourceview-5/language-specs/firejail-profile.lang create mode 100644 contrib/syntax/files/firejail-profile.lang create mode 100644 contrib/syntax/files/firejail.vim delete mode 100644 contrib/vim/syntax/firejail.vim (limited to 'contrib') diff --git a/contrib/gtksourceview-5/language-specs/firejail-profile.lang b/contrib/gtksourceview-5/language-specs/firejail-profile.lang deleted file mode 100644 index 61c37f98f..000000000 --- a/contrib/gtksourceview-5/language-specs/firejail-profile.lang +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - text/plain;text/x-firejail-profile - *.profile;*.local;*.inc - # - - - -