From 2a262d2936178a13abae2b25135a3f584d0033f6 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 19 Sep 2022 13:55:50 -0400 Subject: Automatically tag systemtap files --- docs/markdown/Installing.md | 2 ++ mesonbuild/backend/backends.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md index 26340bcd5..eab2364f3 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 ba342a1ab..8af8285c7 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 -- cgit v1.2.3