]> git.ipfire.org Git - thirdparty/systemd.git/blob - rules/meson.build
mount-util: shorten the loop a bit (#7545)
[thirdparty/systemd.git] / rules / meson.build
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # Copyright 2017 Zbigniew Jędrzejewski-Szmek
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9 #
10 # systemd is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
17
18 rules = files('''
19 60-block.rules
20 60-cdrom_id.rules
21 60-drm.rules
22 60-evdev.rules
23 60-input-id.rules
24 60-persistent-alsa.rules
25 60-persistent-input.rules
26 60-persistent-storage.rules
27 60-persistent-storage-tape.rules
28 60-persistent-v4l.rules
29 60-sensor.rules
30 60-serial.rules
31 70-joystick.rules
32 70-mouse.rules
33 70-touchpad.rules
34 75-net-description.rules
35 75-probe_mtd.rules
36 78-sound-card.rules
37 80-drivers.rules
38 80-net-setup-link.rules
39 '''.split())
40
41 install_data(rules,
42 install_dir : udevrulesdir)
43
44 all_rules = rules
45
46 rules_in = '''
47 50-udev-default.rules
48 64-btrfs.rules
49 99-systemd.rules
50 '''.split()
51
52 foreach file : rules_in
53 gen = configure_file(
54 input : file + '.in',
55 output : file,
56 configuration : substs)
57 install_data(gen,
58 install_dir : udevrulesdir)
59 all_rules += gen
60 endforeach