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. --- .github/workflows/codeql-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/codeql-analysis.yml') diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 115919477..eb9c28345 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -10,7 +10,7 @@ on: branches: [ master ] paths-ignore: - '.github/ISSUE_TEMPLATE/*' - - 'contrib/gtksourceview-5/**' + - 'contrib/syntax/**' - 'contrib/vim/**' - 'etc/**' - 'src/man/*.txt' @@ -32,7 +32,7 @@ on: branches: [ master ] paths-ignore: - '.github/ISSUE_TEMPLATE/*' - - 'contrib/gtksourceview-5/**' + - 'contrib/syntax/**' - 'contrib/vim/**' - 'etc/**' - 'src/man/*.txt' -- cgit v1.2.3-70-g09d2