mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
meson: reindent all files with 8 spaces
The indentation for emacs'es meson-mode is added .dir-locals. All files are reindented automatically, using the lasest meson-mode from git. Indentation should now be fairly consistent.
This commit is contained in:
parent
0a76b0e8a2
commit
37efbbd821
@ -20,4 +20,5 @@
|
|||||||
(eval . (c-set-offset 'arglist-intro '++))
|
(eval . (c-set-offset 'arglist-intro '++))
|
||||||
(eval . (c-set-offset 'arglist-close 0))))
|
(eval . (c-set-offset 'arglist-close 0))))
|
||||||
(nxml-mode . ((nxml-child-indent . 2)
|
(nxml-mode . ((nxml-child-indent . 2)
|
||||||
(fill-column . 119))))
|
(fill-column . 119)))
|
||||||
|
(meson-mode . ((meson-indent-basic . 8))))
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
in_files = '''
|
in_files = '''
|
||||||
systemd.bg.catalog
|
systemd.bg.catalog
|
||||||
systemd.be.catalog
|
systemd.be.catalog
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
file = configure_file(
|
file = configure_file(
|
||||||
input : 'README.in',
|
input : 'README.in',
|
||||||
output : 'README',
|
output : 'README',
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
file = configure_file(
|
file = configure_file(
|
||||||
input : 'README.in',
|
input : 'README.in',
|
||||||
output : 'README',
|
output : 'README',
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
hwdb_files = files('''
|
hwdb_files = files('''
|
||||||
20-pci-vendor-model.hwdb
|
20-pci-vendor-model.hwdb
|
||||||
20-pci-classes.hwdb
|
20-pci-classes.hwdb
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
# This is lame, I know, but meson has no other include mechanism
|
# This is lame, I know, but meson has no other include mechanism
|
||||||
subdir('rules')
|
subdir('rules')
|
||||||
|
|
||||||
@ -26,6 +24,7 @@ xsltproc_flags = [
|
|||||||
|
|
||||||
custom_man_xsl = files('custom-man.xsl')
|
custom_man_xsl = files('custom-man.xsl')
|
||||||
custom_html_xsl = files('custom-html.xsl')
|
custom_html_xsl = files('custom-html.xsl')
|
||||||
|
xslt_cmd = [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags
|
||||||
|
|
||||||
custom_entities_ent = configure_file(
|
custom_entities_ent = configure_file(
|
||||||
input : 'custom-entities.ent.in',
|
input : 'custom-entities.ent.in',
|
||||||
@ -54,14 +53,12 @@ foreach tuple : manpages
|
|||||||
|
|
||||||
mandirn = join_paths(get_option('mandir'), 'man' + section)
|
mandirn = join_paths(get_option('mandir'), 'man' + section)
|
||||||
|
|
||||||
have = condition == '' or conf.get(condition, 0) == 1
|
if condition == '' or conf.get(condition, 0) == 1
|
||||||
|
|
||||||
if have
|
|
||||||
p1 = custom_target(
|
p1 = custom_target(
|
||||||
man,
|
man,
|
||||||
input : xml,
|
input : xml,
|
||||||
output : [man] + manaliases,
|
output : [man] + manaliases,
|
||||||
command : [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags + [custom_man_xsl, '@INPUT@'],
|
command : xslt_cmd + [custom_man_xsl, '@INPUT@'],
|
||||||
depend_files : custom_entities_ent,
|
depend_files : custom_entities_ent,
|
||||||
install : want_man,
|
install : want_man,
|
||||||
install_dir : mandirn)
|
install_dir : mandirn)
|
||||||
@ -71,7 +68,7 @@ foreach tuple : manpages
|
|||||||
html,
|
html,
|
||||||
input : xml,
|
input : xml,
|
||||||
output : [html] + htmlaliases,
|
output : [html] + htmlaliases,
|
||||||
command : [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags + [custom_html_xsl, '@INPUT@'],
|
command : xslt_cmd + [custom_html_xsl, '@INPUT@'],
|
||||||
depend_files : custom_entities_ent,
|
depend_files : custom_entities_ent,
|
||||||
install : want_html,
|
install : want_html,
|
||||||
install_dir : join_paths(docdir, 'html'))
|
install_dir : join_paths(docdir, 'html'))
|
||||||
@ -79,7 +76,7 @@ foreach tuple : manpages
|
|||||||
|
|
||||||
source_xml_files += files(tuple[0] + '.xml')
|
source_xml_files += files(tuple[0] + '.xml')
|
||||||
else
|
else
|
||||||
message('Skipping @0@.@1@ because @2@ is @3@'.format(stem, section, condition, have))
|
message('Skipping @0@.@1@ because @2@ is false'.format(stem, section, condition))
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
@ -118,7 +115,7 @@ foreach tuple : [['systemd.directives', '7', systemd_directives_xml],
|
|||||||
man,
|
man,
|
||||||
input : xml,
|
input : xml,
|
||||||
output : man,
|
output : man,
|
||||||
command : [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags + [custom_man_xsl, '@INPUT@'],
|
command : xslt_cmd + [custom_man_xsl, '@INPUT@'],
|
||||||
install : want_man and have_lxml,
|
install : want_man and have_lxml,
|
||||||
install_dir : mandirn)
|
install_dir : mandirn)
|
||||||
man_pages += [p1]
|
man_pages += [p1]
|
||||||
@ -127,7 +124,7 @@ foreach tuple : [['systemd.directives', '7', systemd_directives_xml],
|
|||||||
html,
|
html,
|
||||||
input : xml,
|
input : xml,
|
||||||
output : html,
|
output : html,
|
||||||
command : [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags + [custom_html_xsl, '@INPUT@'],
|
command : xslt_cmd + [custom_html_xsl, '@INPUT@'],
|
||||||
install : want_html and have_lxml,
|
install : want_html and have_lxml,
|
||||||
install_dir : join_paths(docdir, 'html'))
|
install_dir : join_paths(docdir, 'html'))
|
||||||
html_pages += [p2]
|
html_pages += [p2]
|
||||||
|
12
meson.build
12
meson.build
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
project('systemd', 'c',
|
project('systemd', 'c',
|
||||||
version : '233',
|
version : '233',
|
||||||
license : 'LGPLv2+',
|
license : 'LGPLv2+',
|
||||||
@ -391,7 +389,7 @@ foreach ident : [
|
|||||||
['copy_file_range', '''#include <sys/syscall.h>
|
['copy_file_range', '''#include <sys/syscall.h>
|
||||||
#include <unistd.h>'''],
|
#include <unistd.h>'''],
|
||||||
['explicit_bzero' , '''#include <strings.h>'''],
|
['explicit_bzero' , '''#include <strings.h>'''],
|
||||||
]
|
]
|
||||||
|
|
||||||
have = cc.has_function(ident[0], prefix : ident[1])
|
have = cc.has_function(ident[0], prefix : ident[1])
|
||||||
conf.set10('HAVE_DECL_' + ident[0].to_upper(), have)
|
conf.set10('HAVE_DECL_' + ident[0].to_upper(), have)
|
||||||
@ -432,7 +430,10 @@ foreach prog : progs
|
|||||||
if path != ''
|
if path != ''
|
||||||
message('Using @1@ for @0@'.format(prog[0], path))
|
message('Using @1@ for @0@'.format(prog[0], path))
|
||||||
else
|
else
|
||||||
exe = find_program(prog[0], '/usr/sbin/' + prog[0], '/sbin/' + prog[0], required: false)
|
exe = find_program(prog[0],
|
||||||
|
'/usr/sbin/' + prog[0],
|
||||||
|
'/sbin/' + prog[0],
|
||||||
|
required: false)
|
||||||
path = exe.found() ? exe.path() : prog[1]
|
path = exe.found() ? exe.path() : prog[1]
|
||||||
endif
|
endif
|
||||||
name = prog.length() > 2 ? prog[2] : prog[0].to_upper()
|
name = prog.length() > 2 ? prog[2] : prog[0].to_upper()
|
||||||
@ -466,7 +467,8 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
message('gperf len type is @0@'.format(gperf_len_type))
|
message('gperf len type is @0@'.format(gperf_len_type))
|
||||||
conf.set('GPERF_LEN_TYPE', gperf_len_type, description : 'The type of gperf "len" parameter')
|
conf.set('GPERF_LEN_TYPE', gperf_len_type,
|
||||||
|
description : 'The type of gperf "len" parameter')
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
if conf.get('ENABLE_NETWORKD', 0) == 1
|
if conf.get('ENABLE_NETWORKD', 0) == 1
|
||||||
install_data('80-container-host0.network',
|
install_data('80-container-host0.network',
|
||||||
'80-container-ve.network',
|
'80-container-ve.network',
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
i18n.gettext(meson.project_name())
|
i18n.gettext(meson.project_name())
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
rules = files('''
|
rules = files('''
|
||||||
60-block.rules
|
60-block.rules
|
||||||
60-cdrom_id.rules
|
60-cdrom_id.rules
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
bashcompletiondir = get_option('bashcompletiondir')
|
bashcompletiondir = get_option('bashcompletiondir')
|
||||||
if bashcompletiondir == ''
|
if bashcompletiondir == ''
|
||||||
bash_completion = dependency('bash-completion', required : false)
|
bash_completion = dependency('bash-completion', required : false)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
zshcompletiondir = get_option('zshcompletiondir')
|
zshcompletiondir = get_option('zshcompletiondir')
|
||||||
if zshcompletiondir == ''
|
if zshcompletiondir == ''
|
||||||
zshcompletiondir = join_paths(datadir, 'zsh/site-functions')
|
zshcompletiondir = join_paths(datadir, 'zsh/site-functions')
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_analyze_sources = files('''
|
systemd_analyze_sources = files('''
|
||||||
analyze.c
|
analyze.c
|
||||||
analyze-verify.c
|
analyze-verify.c
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
basic_sources_plain = files('''
|
basic_sources_plain = files('''
|
||||||
af-list.c
|
af-list.c
|
||||||
af-list.h
|
af-list.h
|
||||||
|
@ -187,5 +187,6 @@ if have_gnu_efi
|
|||||||
'test-efi-disk.img',
|
'test-efi-disk.img',
|
||||||
input : [systemd_boot_so, stub_so_stub],
|
input : [systemd_boot_so, stub_so_stub],
|
||||||
output : 'test-efi-disk.img',
|
output : 'test-efi-disk.img',
|
||||||
command : [test_efi_create_disk_sh, '@OUTPUT@', '@INPUT0@', '@INPUT1@', splash_bmp])
|
command : [test_efi_create_disk_sh, '@OUTPUT@',
|
||||||
|
'@INPUT0@', '@INPUT1@', splash_bmp])
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
libcore_la_sources = '''
|
libcore_la_sources = '''
|
||||||
unit.c
|
unit.c
|
||||||
unit.h
|
unit.h
|
||||||
@ -174,8 +172,8 @@ foreach item : in_files
|
|||||||
file = item[0]
|
file = item[0]
|
||||||
dir = item[1]
|
dir = item[1]
|
||||||
|
|
||||||
# If "no", disable generation completely.
|
# If 'no', disable generation completely.
|
||||||
# If "", generate, but do not install.
|
# If '', generate, but do not install.
|
||||||
if dir != 'no'
|
if dir != 'no'
|
||||||
gen = configure_file(
|
gen = configure_file(
|
||||||
input : file + '.in',
|
input : file + '.in',
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_coredump_sources = files('''
|
systemd_coredump_sources = files('''
|
||||||
coredump.c
|
coredump.c
|
||||||
coredump-vacuum.c
|
coredump-vacuum.c
|
||||||
@ -23,4 +21,4 @@ tests += [
|
|||||||
[],
|
[],
|
||||||
[],
|
[],
|
||||||
'ENABLE_COREDUMP', 'manual'],
|
'ENABLE_COREDUMP', 'manual'],
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
install_data('org.freedesktop.hostname1.conf',
|
install_data('org.freedesktop.hostname1.conf',
|
||||||
install_dir : dbuspolicydir)
|
install_dir : dbuspolicydir)
|
||||||
install_data('org.freedesktop.hostname1.service',
|
install_data('org.freedesktop.hostname1.service',
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_importd_sources = files('''
|
systemd_importd_sources = files('''
|
||||||
importd.c
|
importd.c
|
||||||
'''.split())
|
'''.split())
|
||||||
@ -76,4 +74,4 @@ tests += [
|
|||||||
[libshared],
|
[libshared],
|
||||||
[libz],
|
[libz],
|
||||||
'HAVE_ZLIB', 'manual'],
|
'HAVE_ZLIB', 'manual'],
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_journal_upload_sources = files('''
|
systemd_journal_upload_sources = files('''
|
||||||
journal-upload.h
|
journal-upload.h
|
||||||
journal-upload.c
|
journal-upload.c
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
journal_internal_sources = files('''
|
journal_internal_sources = files('''
|
||||||
audit-type.c
|
audit-type.c
|
||||||
audit-type.h
|
audit-type.h
|
||||||
@ -94,16 +92,20 @@ endif
|
|||||||
install_data('journald.conf',
|
install_data('journald.conf',
|
||||||
install_dir : pkgsysconfdir)
|
install_dir : pkgsysconfdir)
|
||||||
|
|
||||||
meson.add_install_script('sh', '-c',
|
meson.add_install_script(
|
||||||
|
'sh', '-c',
|
||||||
mkdir_p.format('/var/log/journal'))
|
mkdir_p.format('/var/log/journal'))
|
||||||
meson.add_install_script('sh', '-c',
|
meson.add_install_script(
|
||||||
|
'sh', '-c',
|
||||||
'chown 0:0 $DESTDIR/var/log/journal &&
|
'chown 0:0 $DESTDIR/var/log/journal &&
|
||||||
chmod 755 $DESTDIR/var/log/journal || :')
|
chmod 755 $DESTDIR/var/log/journal || :')
|
||||||
if get_option('adm-group')
|
if get_option('adm-group')
|
||||||
meson.add_install_script('sh', '-c',
|
meson.add_install_script(
|
||||||
|
'sh', '-c',
|
||||||
'setfacl -nm g:adm:rx,d:g:adm:rx $DESTDIR/var/log/journal || :')
|
'setfacl -nm g:adm:rx,d:g:adm:rx $DESTDIR/var/log/journal || :')
|
||||||
endif
|
endif
|
||||||
if get_option('wheel-group')
|
if get_option('wheel-group')
|
||||||
meson.add_install_script('sh', '-c',
|
meson.add_install_script(
|
||||||
|
'sh', '-c',
|
||||||
'setfacl -nm g:wheel:rx,d:g:wheel:rx $DESTDIR/var/log/journal || :')
|
'setfacl -nm g:wheel:rx,d:g:wheel:rx $DESTDIR/var/log/journal || :')
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
install_data('kernel-install',
|
install_data('kernel-install',
|
||||||
install_mode : 'rwxr-xr-x',
|
install_mode : 'rwxr-xr-x',
|
||||||
install_dir : bindir)
|
install_dir : bindir)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
sources = files('''
|
sources = files('''
|
||||||
sd-dhcp-client.c
|
sd-dhcp-client.c
|
||||||
sd-dhcp-server.c
|
sd-dhcp-server.c
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
sd_login_c = files('sd-login/sd-login.c')
|
sd_login_c = files('sd-login/sd-login.c')
|
||||||
|
|
||||||
libsystemd_internal_sources = files('''
|
libsystemd_internal_sources = files('''
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
libudev_sources = files('''
|
libudev_sources = files('''
|
||||||
libudev-private.h
|
libudev-private.h
|
||||||
libudev-device-internal.h
|
libudev-device-internal.h
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_localed_sources = files('''
|
systemd_localed_sources = files('''
|
||||||
localed.c
|
localed.c
|
||||||
keymap-util.c
|
keymap-util.c
|
||||||
@ -39,4 +37,4 @@ tests += [
|
|||||||
'src/locale/keymap-util.h'],
|
'src/locale/keymap-util.h'],
|
||||||
[libshared],
|
[libshared],
|
||||||
[libdl]],
|
[libdl]],
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_logind_sources = files('''
|
systemd_logind_sources = files('''
|
||||||
logind.c
|
logind.c
|
||||||
logind.h
|
logind.h
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_machined_sources = files('''
|
systemd_machined_sources = files('''
|
||||||
machined.c
|
machined.c
|
||||||
machined.h
|
machined.h
|
||||||
@ -45,4 +43,4 @@ tests += [
|
|||||||
libudev],
|
libudev],
|
||||||
[threads],
|
[threads],
|
||||||
'ENABLE_MACHINED'],
|
'ENABLE_MACHINED'],
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
sources = files('''
|
sources = files('''
|
||||||
netdev/bond.c
|
netdev/bond.c
|
||||||
netdev/bond.h
|
netdev/bond.h
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_nspawn_sources = files('''
|
systemd_nspawn_sources = files('''
|
||||||
nspawn.c
|
nspawn.c
|
||||||
nspawn-settings.c
|
nspawn-settings.c
|
||||||
@ -39,4 +37,4 @@ tests += [
|
|||||||
[libshared],
|
[libshared],
|
||||||
[libacl],
|
[libacl],
|
||||||
'', 'manual'],
|
'', 'manual'],
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
basic_dns_sources = files('''
|
basic_dns_sources = files('''
|
||||||
resolved-dns-dnssec.c
|
resolved-dns-dnssec.c
|
||||||
resolved-dns-dnssec.h
|
resolved-dns-dnssec.h
|
||||||
@ -116,14 +114,12 @@ resolved_gperf_c = custom_target(
|
|||||||
output : 'resolved-gperf.c',
|
output : 'resolved-gperf.c',
|
||||||
command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
|
command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
|
||||||
|
|
||||||
systemd_resolved_sources = (
|
systemd_resolved_sources = (basic_dns_sources +
|
||||||
basic_dns_sources +
|
|
||||||
[resolved_gperf_c] +
|
[resolved_gperf_c] +
|
||||||
systemd_resolved_only_sources +
|
systemd_resolved_only_sources +
|
||||||
dns_type_headers)
|
dns_type_headers)
|
||||||
|
|
||||||
systemd_resolve_sources = (
|
systemd_resolve_sources = (basic_dns_sources +
|
||||||
basic_dns_sources +
|
|
||||||
systemd_resolve_only_sources +
|
systemd_resolve_only_sources +
|
||||||
dns_type_headers)
|
dns_type_headers)
|
||||||
|
|
||||||
@ -176,4 +172,4 @@ tests += [
|
|||||||
[],
|
[],
|
||||||
[],
|
[],
|
||||||
'ENABLE_RESOLVED', 'manual'],
|
'ENABLE_RESOLVED', 'manual'],
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
shared_sources = '''
|
shared_sources = '''
|
||||||
acl-util.h
|
acl-util.h
|
||||||
acpi-fpdt.c
|
acpi-fpdt.c
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
gen = configure_file(
|
gen = configure_file(
|
||||||
input : 'systemd-sulogin-shell.in',
|
input : 'systemd-sulogin-shell.in',
|
||||||
output : 'systemd-sulogin-shell',
|
output : 'systemd-sulogin-shell',
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
_systemd_headers = '''
|
_systemd_headers = '''
|
||||||
sd-bus.h
|
sd-bus.h
|
||||||
sd-bus-protocol.h
|
sd-bus-protocol.h
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
awkscript = 'test-hashmap-ordered.awk'
|
awkscript = 'test-hashmap-ordered.awk'
|
||||||
test_hashmap_ordered_c = custom_target(
|
test_hashmap_ordered_c = custom_target(
|
||||||
'test-hashmap-ordered.c',
|
'test-hashmap-ordered.c',
|
||||||
@ -594,7 +592,7 @@ tests += [
|
|||||||
[],
|
[],
|
||||||
[libdl],
|
[libdl],
|
||||||
'', 'manual'],
|
'', 'manual'],
|
||||||
]
|
]
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
@ -706,7 +704,7 @@ tests += [
|
|||||||
libshared],
|
libshared],
|
||||||
[liblz4,
|
[liblz4,
|
||||||
libxz]],
|
libxz]],
|
||||||
]
|
]
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
@ -875,7 +873,7 @@ tests += [
|
|||||||
[libshared,
|
[libshared,
|
||||||
libsystemd_network],
|
libsystemd_network],
|
||||||
[]],
|
[]],
|
||||||
]
|
]
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
@ -894,4 +892,4 @@ tests += [
|
|||||||
libshared,
|
libshared,
|
||||||
libudev],
|
libudev],
|
||||||
[threads]],
|
[threads]],
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
if conf.get('ENABLE_TIMEDATED', 0) == 1
|
if conf.get('ENABLE_TIMEDATED', 0) == 1
|
||||||
install_data('org.freedesktop.timedate1.conf',
|
install_data('org.freedesktop.timedate1.conf',
|
||||||
install_dir : dbuspolicydir)
|
install_dir : dbuspolicydir)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
systemd_timesyncd_sources = files('''
|
systemd_timesyncd_sources = files('''
|
||||||
timesyncd.c
|
timesyncd.c
|
||||||
timesyncd-manager.c
|
timesyncd-manager.c
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
udevadm_sources = files('''
|
udevadm_sources = files('''
|
||||||
udevadm.c
|
udevadm.c
|
||||||
udevadm-info.c
|
udevadm-info.c
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
if conf.get('ENABLE_VCONSOLE', 0) == 1
|
if conf.get('ENABLE_VCONSOLE', 0) == 1
|
||||||
vconsole_rules = configure_file(
|
vconsole_rules = configure_file(
|
||||||
input : '90-vconsole.rules.in',
|
input : '90-vconsole.rules.in',
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
'50-default.conf',
|
'50-default.conf',
|
||||||
install_dir : sysctldir)
|
install_dir : sysctldir)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
in_files = ['basic.conf']
|
in_files = ['basic.conf']
|
||||||
|
|
||||||
enable_sysusers = conf.get('ENABLE_SYSUSERS', 0) == 1
|
enable_sysusers = conf.get('ENABLE_SYSUSERS', 0) == 1
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
enable_tmpfiles = conf.get('ENABLE_TMPFILES', 0) == 1
|
enable_tmpfiles = conf.get('ENABLE_TMPFILES', 0) == 1
|
||||||
|
|
||||||
tmpfiles = [['home.conf', ''],
|
tmpfiles = [['home.conf', ''],
|
||||||
@ -19,8 +17,8 @@ foreach pair : tmpfiles
|
|||||||
elif pair[1] == '' or conf.get(pair[1], 0) == 1
|
elif pair[1] == '' or conf.get(pair[1], 0) == 1
|
||||||
install_data(pair[0], install_dir : tmpfilesdir)
|
install_data(pair[0], install_dir : tmpfilesdir)
|
||||||
else
|
else
|
||||||
message('Not installing tmpfiles.d/@0@ because @1@ is @2@'.format(
|
message('Not installing tmpfiles.d/@0@ because @1@ is @2@'
|
||||||
pair[0], pair[1], conf.get(pair[1], 0)))
|
.format(pair[0], pair[1], conf.get(pair[1], 0)))
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
@ -39,6 +37,7 @@ foreach file : m4_files
|
|||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
if enable_tmpfiles
|
if enable_tmpfiles
|
||||||
meson.add_install_script('sh', '-c',
|
meson.add_install_script(
|
||||||
|
'sh', '-c',
|
||||||
mkdir_p.format(join_paths(sysconfdir, 'tmpfiles.d')))
|
mkdir_p.format(join_paths(sysconfdir, 'tmpfiles.d')))
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
units = [
|
units = [
|
||||||
['basic.target', ''],
|
['basic.target', ''],
|
||||||
['bluetooth.target', ''],
|
['bluetooth.target', ''],
|
||||||
@ -304,7 +302,8 @@ foreach tuple : units
|
|||||||
|
|
||||||
if tuple.length() > 2
|
if tuple.length() > 2
|
||||||
foreach target : tuple[2].split()
|
foreach target : tuple[2].split()
|
||||||
meson.add_install_script('meson-add-wants.sh', systemunitdir, target, file)
|
meson.add_install_script(
|
||||||
|
'meson-add-wants.sh', systemunitdir, target, file)
|
||||||
endforeach
|
endforeach
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@ -320,7 +319,8 @@ meson.add_install_script(meson_make_symlink,
|
|||||||
join_paths(dbussessionservicedir, 'org.freedesktop.systemd1.service'))
|
join_paths(dbussessionservicedir, 'org.freedesktop.systemd1.service'))
|
||||||
if conf.get('HAVE_SYSV_COMPAT', 0) == 1
|
if conf.get('HAVE_SYSV_COMPAT', 0) == 1
|
||||||
foreach i : [1, 2, 3, 4, 5]
|
foreach i : [1, 2, 3, 4, 5]
|
||||||
meson.add_install_script('sh', '-c',
|
meson.add_install_script(
|
||||||
|
'sh', '-c',
|
||||||
mkdir_p
|
mkdir_p
|
||||||
.format(join_paths(systemunitdir, 'runlevel@0@.target.wants'.format(i))))
|
.format(join_paths(systemunitdir, 'runlevel@0@.target.wants'.format(i))))
|
||||||
endforeach
|
endforeach
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# -*- mode: meson -*-
|
|
||||||
|
|
||||||
units = [
|
units = [
|
||||||
'basic.target',
|
'basic.target',
|
||||||
'bluetooth.target',
|
'bluetooth.target',
|
||||||
@ -14,17 +12,16 @@ units = [
|
|||||||
'sockets.target',
|
'sockets.target',
|
||||||
'sound.target',
|
'sound.target',
|
||||||
'timers.target',
|
'timers.target',
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach file : units
|
foreach file : units
|
||||||
install_data(file,
|
install_data(file,
|
||||||
install_dir : userunitdir)
|
install_dir : userunitdir)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
||||||
in_units = [
|
in_units = [
|
||||||
'systemd-exit.service',
|
'systemd-exit.service',
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach file : in_units
|
foreach file : in_units
|
||||||
gen = configure_file(
|
gen = configure_file(
|
||||||
|
Loading…
Reference in New Issue
Block a user