mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 23:32:14 +02:00
udev: install using meson
This commit is contained in:
@@ -27,6 +27,7 @@ prefix = get_option('prefix')
|
|||||||
datadir = get_option('datadir')
|
datadir = get_option('datadir')
|
||||||
sysconfdir = get_option('sysconfdir')
|
sysconfdir = get_option('sysconfdir')
|
||||||
bindir = join_paths(prefix, get_option('bindir'))
|
bindir = join_paths(prefix, get_option('bindir'))
|
||||||
|
udevrulesdir = join_paths(prefix, 'lib/udev/rules.d')
|
||||||
|
|
||||||
if datadir.startswith('/')
|
if datadir.startswith('/')
|
||||||
full_datadir = datadir
|
full_datadir = datadir
|
||||||
@@ -50,3 +51,4 @@ mgr_deps = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
subdir('udev')
|
||||||
|
8
udev/meson.build
Normal file
8
udev/meson.build
Normal 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)
|
Reference in New Issue
Block a user