]>
Commit | Line | Data |
---|---|---|
3a726fcd ZJS |
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 | ||
5c23128d | 18 | rules = files(''' |
37efbbd8 ZJS |
19 | 60-block.rules |
20 | 60-cdrom_id.rules | |
21 | 60-drm.rules | |
22 | 60-evdev.rules | |
43af16c9 | 23 | 60-input-id.rules |
37efbbd8 ZJS |
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 | |
816be2ba | 31 | 70-joystick.rules |
37efbbd8 ZJS |
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 | |
5c23128d ZJS |
39 | '''.split()) |
40 | ||
41 | install_data(rules, | |
42 | install_dir : udevrulesdir) | |
43 | ||
6b97bf22 ZJS |
44 | all_rules = rules |
45 | ||
5c23128d | 46 | rules_in = ''' |
37efbbd8 | 47 | 50-udev-default.rules |
0e8856d2 | 48 | 64-btrfs.rules |
37efbbd8 | 49 | 99-systemd.rules |
5c23128d ZJS |
50 | '''.split() |
51 | ||
52 | foreach file : rules_in | |
37efbbd8 ZJS |
53 | gen = configure_file( |
54 | input : file + '.in', | |
55 | output : file, | |
56 | configuration : substs) | |
57 | install_data(gen, | |
58 | install_dir : udevrulesdir) | |
6b97bf22 | 59 | all_rules += gen |
5c23128d | 60 | endforeach |