]>
Commit | Line | Data |
---|---|---|
3a726fcd ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
3 | # Copyright 2017 Zbigniew Jędrzejewski-Szmek | |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU Lesser General Public License as published by | |
7 | # the Free Software Foundation; either version 2.1 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # systemd is distributed in the hope that it will be useful, but | |
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | # Lesser General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU Lesser General Public License | |
16 | # along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
17 | ||
5c23128d | 18 | units = [ |
37efbbd8 ZJS |
19 | 'basic.target', |
20 | 'bluetooth.target', | |
21 | 'default.target', | |
22 | 'exit.target', | |
23 | 'graphical-session-pre.target', | |
24 | 'graphical-session.target', | |
25 | 'paths.target', | |
26 | 'printer.target', | |
27 | 'shutdown.target', | |
28 | 'smartcard.target', | |
29 | 'sockets.target', | |
30 | 'sound.target', | |
31 | 'timers.target', | |
32 | ] | |
5c23128d ZJS |
33 | |
34 | foreach file : units | |
37efbbd8 ZJS |
35 | install_data(file, |
36 | install_dir : userunitdir) | |
5c23128d ZJS |
37 | endforeach |
38 | ||
5c23128d | 39 | in_units = [ |
37efbbd8 ZJS |
40 | 'systemd-exit.service', |
41 | ] | |
5c23128d ZJS |
42 | |
43 | foreach file : in_units | |
37efbbd8 ZJS |
44 | gen = configure_file( |
45 | input : file + '.in', | |
46 | output : file, | |
47 | configuration : substs) | |
48 | install_data(gen, | |
49 | install_dir : userunitdir) | |
5c23128d | 50 | endforeach |