From 4ff727a7d4a3a3029f84ce2f2644aaeb4559e403 Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Tue, 16 Feb 2021 23:48:35 +0100 Subject: [PATCH] udev: install using meson --- meson.build | 2 ++ udev/meson.build | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 udev/meson.build diff --git a/meson.build b/meson.build index 069147b..5fc84cf 100644 --- a/meson.build +++ b/meson.build @@ -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') diff --git a/udev/meson.build b/udev/meson.build new file mode 100644 index 0000000..fe558fc --- /dev/null +++ b/udev/meson.build @@ -0,0 +1,8 @@ +# +# Copyright (C) 2020 Arnaud Ferraris +# +# 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)