chiark / gitweb /
tree-wide: beautify remaining copyright statements
[elogind.git] / src / core / meson.build
index 70831dd5711b233d7431de88217d27f99bccfd24..8fb7c696a2675b3868ce98b21904dbe6b62d87c8 100644 (file)
@@ -1,19 +1,6 @@
 # SPDX-License-Identifier: LGPL-2.1+
 #
-# Copyright 2017 Zbigniew Jędrzejewski-Szmek
-#
-# elogind is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-#
-# elogind is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with elogind; If not, see <http://www.gnu.org/licenses/>.
+# Copyright © 2017 Zbigniew Jędrzejewski-Szmek
 
 #if 0 /// elogind has only two of the parts here in it...
 # libcore_la_sources = '''
@@ -150,7 +137,7 @@ libcore_la_sources = files('''
 #         'load-fragment-gperf.gperf',
 #         input : 'load-fragment-gperf.gperf.m4',
 #         output: 'load-fragment-gperf.gperf',
-#         command : [m4, '-P'] + m4_defines + ['@INPUT@'],
+#         command : [meson_apply_m4, config_h, '@INPUT@'],
 #         capture : true)
 # 
 # load_fragment_gperf_c = custom_target(
@@ -173,13 +160,14 @@ libcore_la_sources = files('''
 #         load_fragment_gperf_c,
 #         load_fragment_gperf_nulstr_c,
 #         include_directories : includes,
-#         link_with : [libshared_static],
 #         dependencies : [threads,
+#                         librt,
 #                         libseccomp,
 #                         libpam,
 #                         libaudit,
 #                         libkmod,
 #                         libapparmor,
+#                         libselinux,
 #                         libmount])
 # 
 # systemd_sources = files('main.c')
@@ -196,7 +184,8 @@ libcore_la_sources = files('''
 # 
 # in_files = [['macros.systemd',   rpmmacrosdir],
 #             ['triggers.systemd', ''],
-#             ['systemd.pc',       pkgconfigdatadir]]
+#             ['systemd.pc',       pkgconfigdatadir],
+#             ['system.conf',      pkgsysconfdir]]
 # 
 # foreach item : in_files
 #         file = item[0]
@@ -221,24 +210,14 @@ libcore_la_sources = files('''
 # install_data('org.freedesktop.systemd1.service',
 #              install_dir : dbussystemservicedir)
 # 
-# policy_in = configure_file(
-#         input : 'org.freedesktop.systemd1.policy.in.in',
-#         output : 'org.freedesktop.systemd1.policy.in',
+# policy = configure_file(
+#         input : 'org.freedesktop.systemd1.policy.in',
+#         output : 'org.freedesktop.systemd1.policy',
 #         configuration : substs)
+# install_data(policy,
+#              install_dir : polkitpolicydir)
 # 
-# i18n.merge_file(
-#         'org.freedesktop.systemd1.policy',
-#         input : policy_in,
-#         output : 'org.freedesktop.systemd1.policy',
-#         po_dir : po_dir,
-#         data_dirs : po_dir,
-#         install : install_polkit,
-#         install_dir : polkitpolicydir)
-#endif // 0
-
-#if 0 /// totally UNNEEDED in elogind
-# install_data('system.conf',
-#              'user.conf',
+# install_data('user.conf',
 #              install_dir : pkgsysconfdir)
 # 
 # meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))