udev: install using meson

This commit is contained in:
Arnaud Ferraris
2021-02-16 23:48:35 +01:00
parent 7765e6c541
commit 4ff727a7d4
2 changed files with 10 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ prefix = get_option('prefix')
datadir = get_option('datadir')
sysconfdir = get_option('sysconfdir')
bindir = join_paths(prefix, get_option('bindir'))
udevrulesdir = join_paths(prefix, 'lib/udev/rules.d')
if datadir.startswith('/')
full_datadir = datadir
@@ -50,3 +51,4 @@ mgr_deps = [
]
subdir('src')
subdir('udev')

8
udev/meson.build Normal file
View File

@@ -0,0 +1,8 @@
#
# Copyright (C) 2020 Arnaud Ferraris <arnaud.ferraris@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
install_data ('eg25-configure-usb', install_dir: bindir)
install_data ('80-modem-eg25.rules', install_dir: udevrulesdir)