]>
Commit | Line | Data |
---|---|---|
47be870b LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # Copyright 2010 Lennart Poettering | |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 2 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 | # General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
17 | ||
18 | ACLOCAL_AMFLAGS = -I m4 | |
19 | ||
e24067c3 | 20 | dbuspolicydir=$(sysconfdir)/dbus-1/system.d |
d1ab0ca0 | 21 | udevrulesdir=@udevrulesdir@ |
036643a2 | 22 | |
d1ab0ca0 | 23 | pkgsysconfdir=$(sysconfdir)/systemd |
70fcff31 | 24 | systemunitdir=$(pkgdatadir)/system |
d1ab0ca0 | 25 | sessionunitdir=$(pkgdatadir)/session |
70fcff31 | 26 | |
47be870b LP |
27 | AM_CPPFLAGS = \ |
28 | -include $(top_builddir)/config.h \ | |
036643a2 | 29 | -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ |
70fcff31 | 30 | -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ |
0571e011 | 31 | -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ |
061978fa | 32 | -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ |
036643a2 | 33 | -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \ |
70fcff31 | 34 | -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \ |
a16e1123 | 35 | -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\" \ |
e99e38bb LP |
36 | -DSYSTEMD_BINARY_PATH=\"$(sbindir)/systemd\" \ |
37 | -I $(top_srcdir)/src | |
47be870b LP |
38 | |
39 | sbin_PROGRAMS = \ | |
40 | systemd | |
41 | ||
42 | bin_PROGRAMS = \ | |
a9b5b032 MT |
43 | systemctl |
44 | ||
45 | if HAVE_GTK | |
46 | bin_PROGRAMS += \ | |
8e274523 | 47 | systemadm |
a9b5b032 | 48 | endif |
8e274523 LP |
49 | |
50 | pkglibexec_PROGRAMS = \ | |
51 | systemd-logger \ | |
0b7964b8 LP |
52 | systemd-cgroups-agent \ |
53 | systemd-initctl | |
47be870b LP |
54 | |
55 | noinst_PROGRAMS = \ | |
56 | test-engine \ | |
15ae422b | 57 | test-job-type \ |
af5bc85d LP |
58 | test-ns \ |
59 | test-loopback | |
47be870b | 60 | |
d1ab0ca0 | 61 | dist_dbuspolicy_DATA = \ |
dfac97b2 | 62 | src/org.freedesktop.systemd1.conf |
e24067c3 | 63 | |
d1ab0ca0 | 64 | dist_udevrules_DATA = \ |
dfac97b2 | 65 | src/99-systemd.rules |
5cc5d790 | 66 | |
d1ab0ca0 | 67 | dist_systemunit_DATA = \ |
70fcff31 | 68 | units/emergency.service \ |
5e6afdd3 LP |
69 | units/getty.target \ |
70 | units/halt.target \ | |
70449379 LP |
71 | units/local-fs.target \ |
72 | units/network.target \ | |
73 | units/nss-lookup.target \ | |
5e6afdd3 LP |
74 | units/poweroff.target \ |
75 | units/reboot.target \ | |
70449379 | 76 | units/remote-fs.target \ |
5e6afdd3 | 77 | units/rescue.target \ |
f0b02ca2 | 78 | units/rpcbind.target \ |
70449379 LP |
79 | units/rtc-set.target \ |
80 | units/shutdown.target \ | |
81 | units/sigpwr.target \ | |
82 | units/sockets.target \ | |
83 | units/swap.target \ | |
70fcff31 | 84 | units/systemd-initctl.socket \ |
70fcff31 LP |
85 | units/systemd-logger.socket |
86 | ||
d1ab0ca0 | 87 | systemunit_DATA = \ |
5e6afdd3 LP |
88 | units/basic.target \ |
89 | units/getty@.service \ | |
90 | units/graphical.target \ | |
91 | units/multi-user.target \ | |
dfac97b2 | 92 | units/systemd-initctl.service \ |
a7b6f8e5 LP |
93 | units/systemd-logger.service \ |
94 | units/syslog.target | |
d1ab0ca0 | 95 | |
fb1bd35a LP |
96 | sessionunit_DATA = \ |
97 | units/session/remote-fs.target | |
98 | ||
e24067c3 | 99 | EXTRA_DIST = \ |
5e6afdd3 LP |
100 | units/basic.target.m4 \ |
101 | units/getty@.service.m4 \ | |
102 | units/graphical.target.m4 \ | |
103 | units/multi-user.target.m4 \ | |
705dbf3a | 104 | units/remote-fs.target.m4 \ |
70fcff31 | 105 | units/systemd-initctl.service.in \ |
70fcff31 | 106 | units/systemd-logger.service.in \ |
a7b6f8e5 | 107 | units/syslog.target.in \ |
31cee6f6 | 108 | LICENSE \ |
eb10a764 LP |
109 | README \ |
110 | DISTRO_PORTING | |
e24067c3 | 111 | |
5e6afdd3 LP |
112 | if TARGET_FEDORA |
113 | dist_systemunit_DATA += \ | |
114 | units/fedora/halt.service \ | |
115 | units/fedora/killall.service \ | |
116 | units/fedora/poweroff.service \ | |
117 | units/fedora/prefdm.service \ | |
118 | units/fedora/rc-local.service \ | |
119 | units/fedora/reboot.service \ | |
120 | units/fedora/sysinit.service | |
121 | endif | |
122 | ||
75db651a TFH |
123 | # This is needed because automake is buggy in how it generates the |
124 | # rules for C programs, but not Vala programs. We therefore can't | |
125 | # list the .h files as dependencies if we want make dist to work. | |
ea6145da | 126 | BASIC_SOURCES = \ |
e99e38bb LP |
127 | src/util.c \ |
128 | src/hashmap.c \ | |
129 | src/set.c \ | |
130 | src/strv.c \ | |
131 | src/conf-parser.c \ | |
132 | src/socket-util.c \ | |
133 | src/log.c \ | |
134 | src/ratelimit.c | |
47be870b | 135 | |
ea6145da | 136 | COMMON_SOURCES = \ |
47be870b | 137 | $(BASIC_SOURCES) \ |
e99e38bb LP |
138 | src/unit.c \ |
139 | src/job.c \ | |
140 | src/manager.c \ | |
141 | src/load-fragment.c \ | |
142 | src/service.c \ | |
143 | src/automount.c \ | |
144 | src/mount.c \ | |
145 | src/swap.c \ | |
146 | src/device.c \ | |
147 | src/target.c \ | |
148 | src/snapshot.c \ | |
149 | src/socket.c \ | |
150 | src/timer.c \ | |
151 | src/load-dropin.c \ | |
152 | src/execute.c \ | |
153 | src/dbus.c \ | |
154 | src/dbus-manager.c \ | |
155 | src/dbus-unit.c \ | |
156 | src/dbus-job.c \ | |
157 | src/dbus-service.c \ | |
158 | src/dbus-socket.c \ | |
159 | src/dbus-target.c \ | |
160 | src/dbus-mount.c \ | |
161 | src/dbus-automount.c \ | |
162 | src/dbus-swap.c \ | |
163 | src/dbus-snapshot.c \ | |
164 | src/dbus-device.c \ | |
165 | src/dbus-execute.c \ | |
166 | src/cgroup.c \ | |
167 | src/mount-setup.c \ | |
168 | src/hostname-setup.c \ | |
169 | src/loopback-setup.c \ | |
170 | src/utmp-wtmp.c \ | |
171 | src/specifier.c \ | |
172 | src/unit-name.c \ | |
173 | src/fdset.c \ | |
174 | src/namespace.c | |
47be870b | 175 | |
462b33e9 TFH |
176 | EXTRA_DIST += \ |
177 | ${COMMON_SOURCES:.c=.h} \ | |
e99e38bb LP |
178 | src/macro.h \ |
179 | src/ioprio.h \ | |
180 | src/missing.h \ | |
181 | src/list.h \ | |
182 | src/securebits.h \ | |
183 | src/linux/auto_dev-ioctl.h \ | |
184 | src/initreq.h \ | |
185 | src/sd-daemon.h | |
462b33e9 | 186 | |
d1ab0ca0 | 187 | dist_man_MANS = \ |
dfac97b2 | 188 | man/systemd.unit.5 \ |
9f2c5942 LP |
189 | man/systemd.service.5 |
190 | ||
191 | nodist_man_MANS = \ | |
9f235308 | 192 | man/systemd.special.7 |
d1ab0ca0 | 193 | |
9f2c5942 | 194 | dist_noinst_DATA = \ |
dfac97b2 | 195 | man/systemd.unit.html \ |
9f2c5942 | 196 | man/systemd.service.html |
d1ab0ca0 | 197 | |
9f2c5942 LP |
198 | nodist_noinst_DATA = \ |
199 | man/systemd.special.html | |
d1ab0ca0 LP |
200 | |
201 | EXTRA_DIST += \ | |
202 | man/systemd.unit.xml \ | |
9f235308 | 203 | man/systemd.service.xml \ |
9f2c5942 LP |
204 | man/systemd.special.xml.in \ |
205 | man/systemd.special.7.in \ | |
206 | man/systemd.special.html.in | |
d1ab0ca0 | 207 | |
47be870b LP |
208 | systemd_SOURCES = \ |
209 | $(COMMON_SOURCES) \ | |
e99e38bb | 210 | src/main.c |
47be870b LP |
211 | |
212 | systemd_CPPFLAGS = \ | |
213 | $(AM_CPPFLAGS) \ | |
214 | $(DBUS_CFLAGS) \ | |
8e274523 LP |
215 | $(UDEV_CFLAGS) \ |
216 | $(CGROUP_CFLAGS) | |
47be870b LP |
217 | |
218 | systemd_LDADD = \ | |
219 | $(DBUS_LIBS) \ | |
8e274523 LP |
220 | $(UDEV_LIBS) \ |
221 | $(CGROUP_LIBS) | |
47be870b LP |
222 | |
223 | test_engine_SOURCES = \ | |
224 | $(COMMON_SOURCES) \ | |
e99e38bb | 225 | src/test-engine.c |
47be870b LP |
226 | |
227 | test_engine_CPPFLAGS = $(systemd_CPPFLAGS) | |
228 | test_engine_LDADD = $(systemd_LDADD) | |
229 | ||
230 | test_job_type_SOURCES = \ | |
231 | $(COMMON_SOURCES) \ | |
e99e38bb | 232 | src/test-engine.c |
47be870b LP |
233 | |
234 | test_job_type_CPPFLAGS = $(systemd_CPPFLAGS) | |
235 | test_job_type_LDADD = $(systemd_LDADD) | |
236 | ||
15ae422b LP |
237 | test_ns_SOURCES = \ |
238 | $(BASIC_SOURCES) \ | |
e99e38bb LP |
239 | src/test-ns.c \ |
240 | src/namespace.c | |
15ae422b LP |
241 | |
242 | test_ns_CPPFLAGS = $(systemd_CPPFLAGS) | |
243 | test_ns_LDADD = $(systemd_LDADD) | |
244 | ||
af5bc85d LP |
245 | test_loopback_SOURCES = \ |
246 | $(BASIC_SOURCES) \ | |
e99e38bb LP |
247 | src/test-loopback.c \ |
248 | src/loopback-setup.c | |
af5bc85d LP |
249 | |
250 | test_loopback_CPPFLAGS = $(systemd_CPPFLAGS) | |
251 | test_loopback_LDADD = $(systemd_LDADD) | |
252 | ||
47be870b LP |
253 | systemd_logger_SOURCES = \ |
254 | $(BASIC_SOURCES) \ | |
e99e38bb LP |
255 | src/logger.c \ |
256 | src/sd-daemon.c | |
47be870b | 257 | |
0b7964b8 LP |
258 | systemd_initctl_SOURCES = \ |
259 | $(BASIC_SOURCES) \ | |
e99e38bb LP |
260 | src/initctl.c \ |
261 | src/sd-daemon.c | |
0b7964b8 LP |
262 | |
263 | systemd_initctl_CPPFLAGS = \ | |
264 | $(AM_CPPFLAGS) \ | |
265 | $(DBUS_CFLAGS) | |
266 | ||
267 | systemd_initctl_LDADD = \ | |
268 | $(DBUS_LIBS) | |
269 | ||
8e274523 LP |
270 | systemd_cgroups_agent_SOURCES = \ |
271 | $(BASIC_SOURCES) \ | |
e99e38bb | 272 | src/cgroups-agent.c |
8e274523 LP |
273 | |
274 | systemd_cgroups_agent_CPPFLAGS = \ | |
275 | $(AM_CPPFLAGS) \ | |
276 | $(DBUS_CFLAGS) | |
277 | ||
278 | systemd_cgroups_agent_LDADD = \ | |
279 | $(DBUS_LIBS) | |
280 | ||
e99e38bb LP |
281 | VALAFLAGS = \ |
282 | -g \ | |
283 | --save-temps \ | |
284 | --pkg=dbus-glib-1 \ | |
285 | --pkg=posix | |
286 | ||
287 | if HAVE_GTK | |
288 | VALAFLAGS += \ | |
289 | --pkg=gtk+-2.0 | |
290 | endif | |
291 | ||
292 | VALA_CFLAGS = \ | |
293 | -Wno-unused-variable \ | |
294 | -Wno-unused-function | |
47be870b LP |
295 | |
296 | systemctl_SOURCES = \ | |
e99e38bb LP |
297 | src/systemctl.vala \ |
298 | src/systemd-interfaces.vala | |
47be870b | 299 | |
67ef7823 | 300 | systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(VALA_CFLAGS) |
47be870b LP |
301 | systemctl_LDADD = $(DBUSGLIB_LIBS) |
302 | ||
303 | systemadm_SOURCES = \ | |
e99e38bb LP |
304 | src/systemadm.vala \ |
305 | src/systemd-interfaces.vala | |
47be870b | 306 | |
67ef7823 | 307 | systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(VALA_CFLAGS) |
47be870b | 308 | systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS) |
c1e1601e | 309 | |
5e6afdd3 | 310 | SED_PROCESS = \ |
a00e4879 | 311 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
5e6afdd3 | 312 | $(SED) -e 's,@libexecdir\@,$(libexecdir),g' \ |
2d02719c | 313 | -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ |
5e6afdd3 | 314 | -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ |
2d02719c | 315 | < $< > $@ |
70fcff31 | 316 | |
9f2c5942 | 317 | units/%: units/%.in Makefile |
5e6afdd3 LP |
318 | $(SED_PROCESS) |
319 | ||
2a3d6294 | 320 | man/%: man/%.in Makefile |
5e6afdd3 LP |
321 | $(SED_PROCESS) |
322 | ||
fb1bd35a | 323 | M4_PROCESS_SYSTEM = \ |
a00e4879 | 324 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
9f2c5942 | 325 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ |
fb1bd35a LP |
326 | |
327 | M4_PROCESS_SESSION = \ | |
a00e4879 | 328 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
9f2c5942 | 329 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@ |
5e6afdd3 | 330 | |
9f2c5942 | 331 | units/%: units/%.m4 Makefile |
fb1bd35a | 332 | $(M4_PROCESS_SYSTEM) |
5e6afdd3 | 333 | |
9f2c5942 | 334 | units/session/%: units/%.m4 Makefile |
fb1bd35a | 335 | $(M4_PROCESS_SESSION) |
a7b6f8e5 | 336 | |
c1e1601e | 337 | CLEANFILES = \ |
dfac97b2 | 338 | units/systemd-initctl.service \ |
a7b6f8e5 | 339 | units/systemd-logger.service \ |
5e6afdd3 LP |
340 | units/syslog.target \ |
341 | units/basic.target \ | |
342 | units/getty@.service \ | |
343 | units/graphical.target \ | |
705dbf3a LP |
344 | units/multi-user.target \ |
345 | units/remote-fs.target \ | |
9f2c5942 LP |
346 | units/session/remote-fs.target \ |
347 | man/systemd.special.7 \ | |
348 | man/systemd.special.html | |
4697132b | 349 | |
42e39f0b LP |
350 | if HAVE_VALAC |
351 | CLEANFILES += \ | |
352 | src/systemd-interfaces.c \ | |
353 | src/systemctl.c \ | |
354 | src/systemadm.c | |
355 | endif | |
356 | ||
c3bd7322 | 357 | if HAVE_XSLTPROC |
9f2c5942 | 358 | XSLTPROC_PROCESS_MAN = \ |
a00e4879 | 359 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
d1ab0ca0 LP |
360 | $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< |
361 | ||
9f2c5942 | 362 | XSLTPROC_PROCESS_MAN_IN = \ |
a00e4879 | 363 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
9f2c5942 LP |
364 | $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ |
365 | mv ${@:.in=} $@ | |
366 | ||
367 | XSLTPROC_PROCESS_HTML = \ | |
a00e4879 | 368 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
d1ab0ca0 LP |
369 | $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< |
370 | ||
9f2c5942 | 371 | XSLTPROC_PROCESS_HTML_IN = \ |
a00e4879 | 372 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
9f2c5942 LP |
373 | $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \ |
374 | mv ${@:.in=} $@ | |
375 | ||
376 | man/%.5: man/%.xml | |
377 | $(XSLTPROC_PROCESS_MAN) | |
378 | ||
379 | man/%.5.in: man/%.xml.in | |
380 | $(XSLTPROC_PROCESS_MAN) | |
381 | ||
382 | man/%.7: man/%.xml | |
383 | $(XSLTPROC_PROCESS_MAN) | |
384 | ||
385 | man/%.7.in: man/%.xml.in | |
386 | $(XSLTPROC_PROCESS_MAN_IN) | |
387 | ||
388 | man/%.html: man/%.xml | |
389 | $(XSLTPROC_PROCESS_HTML) | |
390 | ||
391 | man/%.html.in: man/%.xml.in | |
392 | $(XSLTPROC_PROCESS_HTML_IN) | |
393 | ||
d1ab0ca0 LP |
394 | CLEANFILES += \ |
395 | $(dist_man_MANS) \ | |
9f2c5942 LP |
396 | man/systemd.special.7.in \ |
397 | man/systemd.unit.html \ | |
398 | man/systemd.service.html \ | |
399 | man/systemd.special.html.in | |
c3bd7322 | 400 | endif |
d1ab0ca0 | 401 | |
4697132b | 402 | install-data-hook: |
64c1b5bf | 403 | $(MKDIR_P) -m 0755 \ |
43aa226d LP |
404 | $(DESTDIR)$(systemunitdir) \ |
405 | $(DESTDIR)$(sessionunitdir) \ | |
5e6afdd3 | 406 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ |
64c1b5bf | 407 | $(DESTDIR)$(pkgsysconfdir)/system \ |
5e6afdd3 LP |
408 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ |
409 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ | |
410 | $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \ | |
64c1b5bf | 411 | $(DESTDIR)$(pkgsysconfdir)/session \ |
e82e442b | 412 | $(DESTDIR)$(sysconfdir)/xdg/systemd |
53f7d807 LP |
413 | $(MKDIR_P) -m 0755 $(DESTDIR)/cgroup/systemd || \ |
414 | echo "Don't forget to create /cgroup/systemd! Couldn't create it for you, continuing anyway." | |
e9da3678 LP |
415 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ |
416 | rm -f session && \ | |
5e6afdd3 LP |
417 | $(LN_S) $(pkgsysconfdir)/session session ) |
418 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ | |
70449379 | 419 | rm -f systemd-initctl.socket systemd-logger.socket && \ |
5e6afdd3 LP |
420 | $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ |
421 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket ) | |
70449379 | 422 | ( cd $(DESTDIR)$(sessionunitdir) && \ |
fb1bd35a | 423 | rm -f shutdown.target sockets.target local-fs.target swap.target && \ |
70449379 | 424 | $(LN_S) ../system/shutdown.target shutdown.target && \ |
fb1bd35a LP |
425 | $(LN_S) ../system/sockets.target sockets.target && \ |
426 | $(LN_S) ../system/local-fs.target local-fs.target && \ | |
427 | $(LN_S) ../system/swap.target swap.target ) | |
5e6afdd3 LP |
428 | ( cd $(DESTDIR)$(systemunitdir) && \ |
429 | rm -f runlevel0.target runlevel1.target runlevel6.target && \ | |
430 | $(LN_S) poweroff.target runlevel0.target && \ | |
431 | $(LN_S) rescue.target runlevel1.target && \ | |
432 | $(LN_S) reboot.target runlevel6.target ) | |
433 | ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ | |
434 | rm -f default.target ctrl-alt-del.target kbrequest.target && \ | |
435 | $(LN_S) $(systemunitdir)/graphical.target default.target && \ | |
436 | $(LN_S) $(systemunitdir)/reboot.target ctrl-alt-del.target && \ | |
437 | $(LN_S) $(systemunitdir)/rescue.target kbrequest.target && \ | |
438 | rm -f runlevel2.target runlevel3.target runlevel4.target runlevel5.target && \ | |
439 | $(LN_S) $(systemunitdir)/multi-user.target runlevel2.target && \ | |
440 | $(LN_S) $(systemunitdir)/multi-user.target runlevel3.target && \ | |
441 | $(LN_S) $(systemunitdir)/multi-user.target runlevel4.target && \ | |
442 | $(LN_S) $(systemunitdir)/graphical.target runlevel5.target ) | |
443 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ | |
444 | rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \ | |
445 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \ | |
446 | $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \ | |
447 | $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \ | |
448 | $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \ | |
449 | $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \ | |
450 | $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service ) | |
451 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ | |
452 | rm -f getty.target && \ | |
453 | $(LN_S) $(systemunitdir)/getty.target getty.target ) | |
454 | if TARGET_FEDORA | |
455 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \ | |
456 | rm -f prefdm.service && \ | |
457 | $(LN_S) $(systemunitdir)/prefdm.service prefdm.service ) | |
458 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ | |
459 | rm -f rc-local.service && \ | |
460 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
461 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
462 | rm -f local.service && \ | |
463 | $(LN_S) rc-local.service local.service ) | |
464 | endif | |
465 | ||
d1ab0ca0 LP |
466 | DISTCHECK_CONFIGURE_FLAGS = \ |
467 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) |