]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: place systemd-sulogin-shell in build/
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Dec 2017 09:44:43 +0000 (10:44 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Dec 2017 11:34:12 +0000 (12:34 +0100)
We do that will all executables so that it's easy to call them.

meson.build
src/sulogin-shell/meson.build [deleted file]

index 3bdd87fc6b39e3afc3e51aa97b2599bdbf04ab0e..c0b36a98f2e69914c6b9be5c6c0fa996078a9c21 100644 (file)
@@ -1292,7 +1292,6 @@ subdir('src/resolve')
 subdir('src/timedate')
 subdir('src/timesync')
 subdir('src/vconsole')
-subdir('src/sulogin-shell')
 subdir('src/boot/efi')
 
 subdir('src/test')
@@ -2370,6 +2369,15 @@ if conf.get('ENABLE_NETWORKD') == 1
                    install_dir : rootbindir)
         public_programs += [exe]
 endif
+
+executable('systemd-sulogin-shell',
+           ['src/sulogin-shell/sulogin-shell.c'],
+           include_directories : includes,
+           link_with : [libshared],
+           install_rpath : rootlibexecdir,
+           install : true,
+           install_dir : rootlibexecdir)
+
 ############################################################
 
 foreach tuple : tests
diff --git a/src/sulogin-shell/meson.build b/src/sulogin-shell/meson.build
deleted file mode 100644 (file)
index 1617258..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1+
-#
-# Copyright 2017 Zbigniew Jędrzejewski-Szmek
-#
-# systemd 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.
-#
-# systemd 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 systemd; If not, see <http://www.gnu.org/licenses/>.
-
-executable('systemd-sulogin-shell',
-           ['sulogin-shell.c'],
-           include_directories : includes,
-           link_with : [libshared],
-           dependencies : [],
-           install_rpath : rootlibexecdir,
-           install : true,
-           install_dir : rootlibexecdir)