1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

import: skip the whole subdir when building with -Dimportd=false

Resolves: #32501
This commit is contained in:
Frantisek Sumsal 2024-04-26 17:07:39 +02:00
parent fea14ca15e
commit 6a68270c97

View File

@ -1,5 +1,9 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
if conf.get('ENABLE_IMPORTD') != 1
subdir_done()
endif
systemd_importd_sources = files(
'importd.c',
)
@ -117,15 +121,13 @@ executables += [
},
]
if conf.get('ENABLE_IMPORTD') == 1
install_data('org.freedesktop.import1.conf',
install_dir : dbuspolicydir)
install_data('org.freedesktop.import1.service',
install_dir : dbussystemservicedir)
install_data('org.freedesktop.import1.policy',
install_dir : polkitpolicydir)
install_data('org.freedesktop.import1.conf',
install_dir : dbuspolicydir)
install_data('org.freedesktop.import1.service',
install_dir : dbussystemservicedir)
install_data('org.freedesktop.import1.policy',
install_dir : polkitpolicydir)
install_data('import-pubring.gpg',
install_dir : libexecdir)
# TODO: shouldn't this be in pkgdatadir?
endif
install_data('import-pubring.gpg',
install_dir : libexecdir)
# TODO: shouldn't this be in pkgdatadir?