diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-09-19 13:55:50 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-09-28 00:13:49 -0400 |
commit | 2a262d2936178a13abae2b25135a3f584d0033f6 (patch) | |
tree | 5bc850ab6ac2700bcde6c61f4823ac6f0bff3e2a | |
parent | a010274d4b92b45a25bad8961bfa2dd33e778cbc (diff) | |
download | meson-2a262d2936178a13abae2b25135a3f584d0033f6.zip meson-2a262d2936178a13abae2b25135a3f584d0033f6.tar.gz meson-2a262d2936178a13abae2b25135a3f584d0033f6.tar.bz2 |
Automatically tag systemtap files
-rw-r--r-- | docs/markdown/Installing.md | 2 | ||||
-rw-r--r-- | mesonbuild/backend/backends.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md index 26340bc..eab2364 100644 --- a/docs/markdown/Installing.md +++ b/docs/markdown/Installing.md @@ -184,6 +184,8 @@ time, please help extending the list of well known categories. developers (i.e. build tools). - `tests`: * Files installed into `installed-tests` subdir (*Since 0.64.0*). +- `systemtap`: + * Files installed into `systemtap` subdir (*Since 0.64.0*). Custom installation tag can be set using the `install_tag` keyword argument on various functions such as [[custom_target]], [[configure_file]], diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index ba342a1..8af8285 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -1542,6 +1542,8 @@ class Backend: return 'i18n' elif 'installed-tests' in dest_path.parts: return 'tests' + elif 'systemtap' in dest_path.parts: + return 'systemtap' mlog.debug('Failed to guess install tag for', dest_path) return None |