mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
Move rpm stuff into a separate src/rpm/ directory
It is only of interest to rpm-based distros, we can move it out of src/core/ which is pretty busy.
This commit is contained in:
parent
c9615f7352
commit
2a9b4bbe3e
|
@ -1746,6 +1746,7 @@ subdir('src/partition')
|
||||||
subdir('src/portable')
|
subdir('src/portable')
|
||||||
subdir('src/pstore')
|
subdir('src/pstore')
|
||||||
subdir('src/resolve')
|
subdir('src/resolve')
|
||||||
|
subdir('src/rpm')
|
||||||
subdir('src/shutdown')
|
subdir('src/shutdown')
|
||||||
subdir('src/sysext')
|
subdir('src/sysext')
|
||||||
subdir('src/systemctl')
|
subdir('src/systemctl')
|
||||||
|
|
|
@ -164,11 +164,9 @@ core_includes = [includes, include_directories('.')]
|
||||||
|
|
||||||
systemd_sources = files('main.c')
|
systemd_sources = files('main.c')
|
||||||
|
|
||||||
in_files = [['macros.systemd', rpmmacrosdir],
|
in_files = [['system.conf', pkgsysconfdir],
|
||||||
['system.conf', pkgsysconfdir],
|
|
||||||
['user.conf', pkgsysconfdir],
|
['user.conf', pkgsysconfdir],
|
||||||
['systemd.pc', pkgconfigdatadir],
|
['systemd.pc', pkgconfigdatadir]]
|
||||||
['triggers.systemd', '']]
|
|
||||||
|
|
||||||
foreach item : in_files
|
foreach item : in_files
|
||||||
file = item[0]
|
file = item[0]
|
||||||
|
|
14
src/rpm/meson.build
Normal file
14
src/rpm/meson.build
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
|
|
||||||
|
configure_file(
|
||||||
|
input : 'macros.systemd.in',
|
||||||
|
output : 'macros.systemd',
|
||||||
|
configuration : substs,
|
||||||
|
install_dir : rpmmacrosdir == 'no' ? '' : rpmmacrosdir)
|
||||||
|
|
||||||
|
configure_file(
|
||||||
|
input : 'triggers.systemd.in',
|
||||||
|
output : 'triggers.systemd',
|
||||||
|
configuration : substs)
|
||||||
|
# This doesn't get installed anywhere, it needs to included in the rpm spec
|
||||||
|
# file definition.
|
Loading…
Reference in a new issue