summaryrefslogtreecommitdiffstats
path: root/rules.d
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2025-01-09 22:37:26 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2025-01-10 07:15:13 +0100
commit8442ac9c0264ac7beb5afd6c3bf922030a6edaf3 (patch)
tree7e18ddf5debc05929a99d85c4753218b040ad85f /rules.d
parenttree-wide: Fix python formatting (diff)
downloadsystemd-8442ac9c0264ac7beb5afd6c3bf922030a6edaf3.tar.xz
systemd-8442ac9c0264ac7beb5afd6c3bf922030a6edaf3.zip
meson: add install tags for udev and hwdb
Allows building and installing them individually, like other existing components
Diffstat (limited to 'rules.d')
-rw-r--r--rules.d/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules.d/meson.build b/rules.d/meson.build
index 61165fd86f..e8eb26c575 100644
--- a/rules.d/meson.build
+++ b/rules.d/meson.build
@@ -49,7 +49,8 @@ all_rules = []
foreach tuple : rules
if tuple.length() == 1 or tuple[1]
install_data(tuple[0],
- install_dir : udevrulesdir)
+ install_dir : udevrulesdir,
+ install_tag : 'udev')
all_rules += tuple[0]
endif
endforeach
@@ -76,7 +77,8 @@ foreach tuple : rules_in
output: tuple[0],
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
install : want,
- install_dir : udevrulesdir)
+ install_dir : udevrulesdir,
+ install_tag : 'udev')
if want
all_rules += rule