33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
|
diff --git a/meson.build b/meson.build
|
||
|
index b74a177..ca41ba3 100644
|
||
|
--- a/meson.build
|
||
|
+++ b/meson.build
|
||
|
@@ -104,18 +104,19 @@ configure_file(
|
||
|
service_manager = get_option('service_manager')
|
||
|
if service_manager.contains('systemd')
|
||
|
systemd = dependency('systemd')
|
||
|
- unitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
|
||
|
+ #unitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
|
||
|
|
||
|
udev = dependency('udev')
|
||
|
- udevdir = udev.get_pkgconfig_variable('udevdir')
|
||
|
- rulesdir = join_paths(udevdir, 'rules.d')
|
||
|
+ #udevdir = udev.get_pkgconfig_variable('udevdir')
|
||
|
+ #udevdir = '@UDEVDIR@';
|
||
|
+ #rulesdir = join_paths('@UDEVDIR@', 'rules.d')
|
||
|
|
||
|
- install_data(
|
||
|
- join_paths(meson.current_build_dir(), 'iptsd.service'),
|
||
|
- install_dir: unitdir
|
||
|
- )
|
||
|
+########install_data(
|
||
|
+######## join_paths(meson.current_build_dir(), 'iptsd.service'),
|
||
|
+######## install_dir: unitdir
|
||
|
+########)
|
||
|
|
||
|
- install_data('etc/udev/50-ipts.rules', install_dir: rulesdir)
|
||
|
+ install_data('etc/udev/50-ipts.rules', install_dir: '@UDEVRULESDIR@')
|
||
|
endif
|
||
|
|
||
|
if service_manager.contains('openrc')
|