diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-01-23 23:03:57 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-01-27 23:20:40 -0300 |
commit | 88ba851893362dacdbde6ff9527675b07affff27 (patch) | |
tree | e5d10d7aedd06142588e25b51a1a07f97378be75 /.github/workflows/codeql-analysis.yml | |
parent | build: move man page targets to after seccomp filters (diff) | |
download | firejail-88ba851893362dacdbde6ff9527675b07affff27.tar.gz firejail-88ba851893362dacdbde6ff9527675b07affff27.tar.zst firejail-88ba851893362dacdbde6ff9527675b07affff27.zip |
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.
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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: | |||
10 | branches: [ master ] | 10 | branches: [ master ] |
11 | paths-ignore: | 11 | paths-ignore: |
12 | - '.github/ISSUE_TEMPLATE/*' | 12 | - '.github/ISSUE_TEMPLATE/*' |
13 | - 'contrib/gtksourceview-5/**' | 13 | - 'contrib/syntax/**' |
14 | - 'contrib/vim/**' | 14 | - 'contrib/vim/**' |
15 | - 'etc/**' | 15 | - 'etc/**' |
16 | - 'src/man/*.txt' | 16 | - 'src/man/*.txt' |
@@ -32,7 +32,7 @@ on: | |||
32 | branches: [ master ] | 32 | branches: [ master ] |
33 | paths-ignore: | 33 | paths-ignore: |
34 | - '.github/ISSUE_TEMPLATE/*' | 34 | - '.github/ISSUE_TEMPLATE/*' |
35 | - 'contrib/gtksourceview-5/**' | 35 | - 'contrib/syntax/**' |
36 | - 'contrib/vim/**' | 36 | - 'contrib/vim/**' |
37 | - 'etc/**' | 37 | - 'etc/**' |
38 | - 'src/man/*.txt' | 38 | - 'src/man/*.txt' |