summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-17 19:25:00 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:29 -0400
commit37efbbd8211bd40e2d1f1732e27bd7d3ca504a12 (patch)
tree2f445eca4ba6baa5bb3f41b1af4f3680b6ddae17 /src/login
parent0a76b0e8a2043936b6dd598a7a3f924bd683eec8 (diff)
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.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/meson.build154
1 files changed, 76 insertions, 78 deletions
diff --git a/src/login/meson.build b/src/login/meson.build
index d3e2b73e8b..a518215be8 100644
--- a/src/login/meson.build
+++ b/src/login/meson.build
@@ -1,106 +1,104 @@
-# -*- mode: meson -*-
-
systemd_logind_sources = files('''
- logind.c
- logind.h
+ logind.c
+ logind.h
'''.split())
logind_gperf_c = custom_target(
- 'logind_gperf.c',
- input : 'logind-gperf.gperf',
- output : 'logind-gperf.c',
- command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
+ 'logind_gperf.c',
+ input : 'logind-gperf.gperf',
+ output : 'logind-gperf.c',
+ command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
systemd_logind_sources += [logind_gperf_c]
liblogind_core_sources = files('''
- logind-core.c
- logind-device.c
- logind-device.h
- logind-button.c
- logind-button.h
- logind-action.c
- logind-action.h
- logind-seat.c
- logind-seat.h
- logind-session.c
- logind-session.h
- logind-session-device.c
- logind-session-device.h
- logind-user.c
- logind-user.h
- logind-inhibit.c
- logind-inhibit.h
- logind-dbus.c
- logind-session-dbus.c
- logind-seat-dbus.c
- logind-user-dbus.c
- logind-utmp.c
- logind-acl.h
+ logind-core.c
+ logind-device.c
+ logind-device.h
+ logind-button.c
+ logind-button.h
+ logind-action.c
+ logind-action.h
+ logind-seat.c
+ logind-seat.h
+ logind-session.c
+ logind-session.h
+ logind-session-device.c
+ logind-session-device.h
+ logind-user.c
+ logind-user.h
+ logind-inhibit.c
+ logind-inhibit.h
+ logind-dbus.c
+ logind-session-dbus.c
+ logind-seat-dbus.c
+ logind-user-dbus.c
+ logind-utmp.c
+ logind-acl.h
'''.split())
logind_acl_c = files('logind-acl.c')
if conf.get('HAVE_ACL', 0) == 1
- liblogind_core_sources += logind_acl_c
+ liblogind_core_sources += logind_acl_c
endif
liblogind_core = static_library(
- 'logind-core',
- liblogind_core_sources,
- include_directories : includes,
- dependencies : [libacl])
+ 'logind-core',
+ liblogind_core_sources,
+ include_directories : includes,
+ dependencies : [libacl])
loginctl_sources = files('''
- loginctl.c
- sysfs-show.h
- sysfs-show.c
+ loginctl.c
+ sysfs-show.h
+ sysfs-show.c
'''.split())
if conf.get('ENABLE_LOGIND', 0) == 1
- logind_conf = configure_file(
- input : 'logind.conf.in',
- output : 'logind.conf',
- configuration : substs)
- install_data(logind_conf,
- install_dir : pkgsysconfdir)
+ logind_conf = configure_file(
+ input : 'logind.conf.in',
+ output : 'logind.conf',
+ configuration : substs)
+ install_data(logind_conf,
+ install_dir : pkgsysconfdir)
- pam_systemd_sym = 'src/login/pam_systemd.sym'
- pam_systemd_c = files('pam_systemd.c')
+ pam_systemd_sym = 'src/login/pam_systemd.sym'
+ pam_systemd_c = files('pam_systemd.c')
- install_data('org.freedesktop.login1.conf',
- install_dir : dbuspolicydir)
- install_data('org.freedesktop.login1.service',
- install_dir : dbussystemservicedir)
+ install_data('org.freedesktop.login1.conf',
+ install_dir : dbuspolicydir)
+ install_data('org.freedesktop.login1.service',
+ install_dir : dbussystemservicedir)
- custom_target(
- 'org.freedesktop.login1.policy',
- input : 'org.freedesktop.login1.policy.in',
- output : 'org.freedesktop.login1.policy',
- command : intltool_command,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ custom_target(
+ 'org.freedesktop.login1.policy',
+ input : 'org.freedesktop.login1.policy.in',
+ output : 'org.freedesktop.login1.policy',
+ command : intltool_command,
+ install : install_polkit,
+ install_dir : polkitpolicydir)
- install_data('70-power-switch.rules',
- '70-uaccess.rules',
- install_dir : udevrulesdir)
+ install_data('70-power-switch.rules',
+ '70-uaccess.rules',
+ install_dir : udevrulesdir)
- foreach file : ['71-seat.rules',
- '73-seat-late.rules']
- gen = configure_file(
- input : file + '.in',
- output : file,
- configuration : substs)
- install_data(gen,
- install_dir : udevrulesdir)
- endforeach
+ foreach file : ['71-seat.rules',
+ '73-seat-late.rules']
+ gen = configure_file(
+ input : file + '.in',
+ output : file,
+ configuration : substs)
+ install_data(gen,
+ install_dir : udevrulesdir)
+ endforeach
- custom_target(
- 'systemd-user',
- input : 'systemd-user.m4',
- output: 'systemd-user',
- command : [m4, '-P'] + m4_defines + ['@INPUT@'],
- capture : true,
- install : pamconfdir != 'no',
- install_dir : pamconfdir)
+ custom_target(
+ 'systemd-user',
+ input : 'systemd-user.m4',
+ output: 'systemd-user',
+ command : [m4, '-P'] + m4_defines + ['@INPUT@'],
+ capture : true,
+ install : pamconfdir != 'no',
+ install_dir : pamconfdir)
endif