mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
meson: move declarations of hibernate-resume
This commit is contained in:
parent
2a4566203e
commit
7409342236
23
meson.build
23
meson.build
@ -2381,6 +2381,7 @@ subdir('src/debug-generator')
|
||||
subdir('src/environment-d-generator')
|
||||
subdir('src/fstab-generator')
|
||||
subdir('src/getty-generator')
|
||||
subdir('src/hibernate-resume')
|
||||
subdir('src/home')
|
||||
subdir('src/hostname')
|
||||
subdir('src/import')
|
||||
@ -2555,28 +2556,6 @@ if want_tests != 'false'
|
||||
depends : exe)
|
||||
endif
|
||||
|
||||
if conf.get('ENABLE_HIBERNATE') == 1
|
||||
executable(
|
||||
'systemd-hibernate-resume-generator',
|
||||
'src/hibernate-resume/hibernate-resume-generator.c',
|
||||
include_directories : includes,
|
||||
link_with : [libshared],
|
||||
dependencies : userspace,
|
||||
install_rpath : pkglibdir,
|
||||
install : true,
|
||||
install_dir : systemgeneratordir)
|
||||
|
||||
executable(
|
||||
'systemd-hibernate-resume',
|
||||
'src/hibernate-resume/hibernate-resume.c',
|
||||
include_directories : includes,
|
||||
link_with : [libshared],
|
||||
dependencies : userspace,
|
||||
install_rpath : pkglibdir,
|
||||
install : true,
|
||||
install_dir : libexecdir)
|
||||
endif
|
||||
|
||||
if conf.get('HAVE_BLKID') == 1
|
||||
executable(
|
||||
'systemd-gpt-auto-generator',
|
||||
|
14
src/hibernate-resume/meson.build
Normal file
14
src/hibernate-resume/meson.build
Normal file
@ -0,0 +1,14 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
executables += [
|
||||
generator_template + {
|
||||
'name' : 'systemd-hibernate-resume-generator',
|
||||
'conditions' : ['ENABLE_HIBERNATE'],
|
||||
'sources' : files('hibernate-resume-generator.c'),
|
||||
},
|
||||
libexec_template + {
|
||||
'name' : 'systemd-hibernate-resume',
|
||||
'conditions' : ['ENABLE_HIBERNATE'],
|
||||
'sources' : files('hibernate-resume.c'),
|
||||
},
|
||||
]
|
Loading…
Reference in New Issue
Block a user