]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules/meson.build
Add license headers and SPDX identifiers to meson.build files
[thirdparty/systemd.git] / rules / meson.build
CommitLineData
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 18rules = 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
41install_data(rules,
42 install_dir : udevrulesdir)
43
44rules_in = '''
37efbbd8 45 50-udev-default.rules
0e8856d2 46 64-btrfs.rules
37efbbd8 47 99-systemd.rules
5c23128d
ZJS
48'''.split()
49
50foreach file : rules_in
37efbbd8
ZJS
51 gen = configure_file(
52 input : file + '.in',
53 output : file,
54 configuration : substs)
55 install_data(gen,
56 install_dir : udevrulesdir)
5c23128d 57endforeach