]> git.ipfire.org Git - thirdparty/systemd.git/blob - Makefile.am
systemd-user-sessions: install .service file and enable by default
[thirdparty/systemd.git] / Makefile.am
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
20 # Dirs of external packages
21 dbuspolicydir=@dbuspolicydir@
22 dbussessionservicedir=@dbussessionservicedir@
23 dbussystemservicedir=@dbussystemservicedir@
24 dbusinterfacedir=@dbusinterfacedir@
25 udevrulesdir=@udevrulesdir@
26 pamlibdir=@pamlibdir@
27 pkgconfigdatadir=$(datadir)/pkgconfig
28 polkitpolicydir=$(datadir)/polkit-1/actions
29
30 # Our own, non-special dirs
31 pkgsysconfdir=$(sysconfdir)/systemd
32 sessionunitdir=$(pkgdatadir)/session
33 tmpfilesdir=$(sysconfdir)/tmpfiles.d
34
35 # And these are the special ones for /
36 rootdir=@rootdir@
37 rootbindir=$(rootdir)/bin
38 rootsbindir=$(rootdir)/sbin
39 rootlibexecdir=$(rootdir)/lib/systemd
40 systemunitdir=$(rootdir)/lib/systemd/system
41
42 AM_CPPFLAGS = \
43 -include $(top_builddir)/config.h \
44 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
45 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
46 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
47 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
48 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
49 -DSESSION_CONFIG_FILE=\"$(pkgsysconfdir)/session.conf\" \
50 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
51 -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \
52 -DCGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
53 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
54 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
55 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
56 -DRUNTIME_DIR=\"$(localstatedir)/run\" \
57 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
58 -DKEXEC_BINARY_PATH=\"$(rootsbindir)/kexec\" \
59 -I $(top_srcdir)/src
60
61 if TARGET_GENTOO
62 AM_CPPFLAGS += \
63 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
64 -DKBD_SETFONT=\"/usr/bin/setfont\" \
65 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
66 else
67 if TARGET_ARCH
68 AM_CPPFLAGS += \
69 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
70 -DKBD_SETFONT=\"/usr/bin/setfont\" \
71 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
72 else
73 AM_CPPFLAGS += \
74 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
75 -DKBD_SETFONT=\"/bin/setfont\" \
76 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
77 endif
78 endif
79
80 rootbin_PROGRAMS = \
81 systemd \
82 systemctl \
83 systemd-notify \
84 systemd-ask-password
85
86 bin_PROGRAMS = \
87 systemd-cgls
88
89 if HAVE_GTK
90 bin_PROGRAMS += \
91 systemadm \
92 systemd-ask-password-agent
93 endif
94
95 rootlibexec_PROGRAMS = \
96 systemd-logger \
97 systemd-cgroups-agent \
98 systemd-initctl \
99 systemd-update-utmp \
100 systemd-random-seed \
101 systemd-shutdownd \
102 systemd-shutdown \
103 systemd-modules-load \
104 systemd-remount-api-vfs \
105 systemd-kmsg-syslogd \
106 systemd-vconsole-setup \
107 systemd-reply-password \
108 systemd-readahead-collect \
109 systemd-readahead-replay \
110 systemd-tmpfiles \
111 systemd-user-sessions
112
113 noinst_PROGRAMS = \
114 test-engine \
115 test-job-type \
116 test-ns \
117 test-loopback \
118 test-hostname \
119 test-daemon \
120 test-cgroup \
121 test-env-replace
122
123 if HAVE_PAM
124 pamlib_LTLIBRARIES = \
125 pam_systemd.la
126 endif
127
128 dist_pkgsysconf_DATA = \
129 src/system.conf
130
131 dist_dbuspolicy_DATA = \
132 src/org.freedesktop.systemd1.conf
133
134 dist_dbussystemservice_DATA = \
135 src/org.freedesktop.systemd1.service
136
137 dist_udevrules_DATA = \
138 src/99-systemd.rules
139
140 dbusinterface_DATA = \
141 org.freedesktop.systemd1.Manager.xml \
142 org.freedesktop.systemd1.Job.xml \
143 org.freedesktop.systemd1.Unit.xml \
144 org.freedesktop.systemd1.Service.xml \
145 org.freedesktop.systemd1.Socket.xml \
146 org.freedesktop.systemd1.Timer.xml \
147 org.freedesktop.systemd1.Target.xml \
148 org.freedesktop.systemd1.Device.xml \
149 org.freedesktop.systemd1.Mount.xml \
150 org.freedesktop.systemd1.Automount.xml \
151 org.freedesktop.systemd1.Snapshot.xml \
152 org.freedesktop.systemd1.Swap.xml \
153 org.freedesktop.systemd1.Path.xml
154
155 dist_tmpfiles_DATA = \
156 tmpfiles.d/systemd.conf \
157 tmpfiles.d/x11.conf
158
159 dist_systemunit_DATA = \
160 units/emergency.service \
161 units/emergency.target \
162 units/basic.target \
163 units/getty.target \
164 units/halt.target \
165 units/local-fs.target \
166 units/network.target \
167 units/nss-lookup.target \
168 units/mail-transfer-agent.target \
169 units/http-daemon.target \
170 units/poweroff.target \
171 units/reboot.target \
172 units/rescue.target \
173 units/rpcbind.target \
174 units/rtc-set.target \
175 units/shutdown.target \
176 units/umount.target \
177 units/sigpwr.target \
178 units/sockets.target \
179 units/swap.target \
180 units/dbus.target \
181 units/systemd-initctl.socket \
182 units/systemd-logger.socket \
183 units/systemd-shutdownd.socket \
184 units/systemd-kmsg-syslogd.socket \
185 units/dev-hugepages.automount \
186 units/dev-hugepages.mount \
187 units/dev-mqueue.automount \
188 units/dev-mqueue.mount \
189 units/proc-sys-fs-binfmt_misc.automount \
190 units/proc-sys-fs-binfmt_misc.mount \
191 units/sys-kernel-debug.automount \
192 units/sys-kernel-debug.mount \
193 units/sys-kernel-security.automount \
194 units/sys-kernel-security.mount \
195 units/tmp.mount \
196 units/var-lock.mount \
197 units/var-run.mount \
198 units/hwclock-load.service \
199 units/hwclock-save.service \
200 units/sysctl.service \
201 units/remount-rootfs.service \
202 units/printer.target \
203 units/bluetooth.target \
204 units/smartcard.target \
205 units/tmpwatch.service \
206 units/tmpwatch.timer \
207 units/systemd-readahead-done.timer
208
209 nodist_systemunit_DATA = \
210 units/sysinit.target \
211 units/getty@.service \
212 units/serial-getty@.service \
213 units/graphical.target \
214 units/remote-fs.target \
215 units/multi-user.target \
216 units/systemd-initctl.service \
217 units/systemd-logger.service \
218 units/systemd-shutdownd.service \
219 units/systemd-kmsg-syslogd.service \
220 units/systemd-modules-load.service \
221 units/systemd-vconsole-setup.service \
222 units/systemd-remount-api-vfs.service \
223 units/systemd-update-utmp-runlevel.service \
224 units/systemd-update-utmp-shutdown.service \
225 units/systemd-random-seed-save.service \
226 units/systemd-random-seed-load.service \
227 units/systemd-readahead-collect.service \
228 units/systemd-readahead-replay.service \
229 units/systemd-readahead-done.service \
230 units/systemd-tmpfiles.service \
231 units/systemd-user-sessions.service \
232 units/syslog.target
233
234 dist_sessionunit_DATA = \
235 units/session/default.target
236
237 nodist_sessionunit_DATA = \
238 units/session/remote-fs.target \
239 units/session/exit.service
240
241 EXTRA_DIST = \
242 units/sysinit.target.m4 \
243 units/getty@.service.m4 \
244 units/serial-getty@.service.m4 \
245 units/graphical.target.m4 \
246 units/multi-user.target.m4 \
247 units/remote-fs.target.m4 \
248 units/systemd-initctl.service.in \
249 units/systemd-logger.service.in \
250 units/systemd-shutdownd.service.in \
251 units/systemd-kmsg-syslogd.service.in \
252 units/systemd-modules-load.service.in \
253 units/systemd-vconsole-setup.service.in \
254 units/systemd-remount-api-vfs.service.in \
255 units/systemd-update-utmp-runlevel.service.in \
256 units/systemd-update-utmp-shutdown.service.in \
257 units/systemd-random-seed-save.service.in \
258 units/systemd-random-seed-load.service.in \
259 units/systemd-readahead-collect.service.in \
260 units/systemd-readahead-replay.service.in \
261 units/systemd-readahead-done.service.in \
262 units/systemd-tmpfiles.service.in \
263 units/systemd-user-sessions.service.in \
264 units/syslog.target.in \
265 units/session/exit.service.in \
266 systemd.pc.in
267
268 if TARGET_FEDORA
269 dist_systemunit_DATA += \
270 units/fedora/halt.service \
271 units/fedora/killall.service \
272 units/fedora/poweroff.service \
273 units/fedora/prefdm.service \
274 units/fedora/rc-local.service \
275 units/fedora/reboot.service \
276 units/fedora/sysinit.service \
277 units/fedora/single.service \
278 units/fedora/plymouth-quit.service \
279 units/fedora/plymouth-reboot.service \
280 units/fedora/plymouth-poweroff.service \
281 units/fedora/plymouth-halt.service
282 endif
283
284 if TARGET_DEBIAN
285 dist_systemunit_DATA += \
286 units/debian/halt.service \
287 units/debian/killall.service \
288 units/debian/poweroff.service \
289 units/debian/reboot.service \
290 units/debian/fsck.target \
291 units/debian/umountfs.service \
292 units/debian/umountnfs.service \
293 units/debian/umountroot.service
294 endif
295
296 if TARGET_SUSE
297 dist_systemunit_DATA += \
298 units/suse/halt.service \
299 units/suse/poweroff.service \
300 units/suse/reboot.service \
301 units/suse/fsck.target
302 endif
303
304 if TARGET_GENTOO
305 dist_systemunit_DATA += \
306 units/gentoo/halt.service \
307 units/gentoo/killall.service \
308 units/gentoo/poweroff.service \
309 units/gentoo/reboot.service \
310 units/gentoo/xdm.service
311 endif
312
313 if TARGET_ARCH
314 dist_systemunit_DATA += \
315 units/arch/sysinit.service \
316 units/arch/rc-local.service \
317 units/arch/halt.service \
318 units/arch/poweroff.service \
319 units/arch/reboot.service
320 endif
321
322 dist_doc_DATA = \
323 README \
324 LICENSE \
325 DISTRO_PORTING \
326 src/sd-daemon.h \
327 src/sd-daemon.c \
328 src/sd-readahead.h \
329 src/sd-readahead.c
330
331 pkgconfigdata_DATA = \
332 systemd.pc
333
334 dist_polkitpolicy_DATA = \
335 src/org.freedesktop.systemd1.policy
336
337 noinst_LTLIBRARIES = \
338 libsystemd-basic.la \
339 libsystemd-core.la
340
341 libsystemd_basic_la_SOURCES = \
342 src/util.c \
343 src/label.c \
344 src/hashmap.c \
345 src/set.c \
346 src/strv.c \
347 src/conf-parser.c \
348 src/socket-util.c \
349 src/log.c \
350 src/ratelimit.c
351
352 libsystemd_basic_la_CFLAGS = \
353 $(AM_CFLAGS) \
354 $(SELINUX_CFLAGS)
355
356 libsystemd_basic_la_LIBADD = \
357 $(SELINUX_LIBS)
358
359 libsystemd_core_la_SOURCES = \
360 src/unit.c \
361 src/job.c \
362 src/manager.c \
363 src/path-lookup.c \
364 src/load-fragment.c \
365 src/service.c \
366 src/automount.c \
367 src/mount.c \
368 src/swap.c \
369 src/device.c \
370 src/target.c \
371 src/snapshot.c \
372 src/socket.c \
373 src/timer.c \
374 src/path.c \
375 src/load-dropin.c \
376 src/execute.c \
377 src/exit-status.c \
378 src/dbus.c \
379 src/dbus-manager.c \
380 src/dbus-unit.c \
381 src/dbus-job.c \
382 src/dbus-service.c \
383 src/dbus-socket.c \
384 src/dbus-timer.c \
385 src/dbus-target.c \
386 src/dbus-mount.c \
387 src/dbus-automount.c \
388 src/dbus-swap.c \
389 src/dbus-snapshot.c \
390 src/dbus-device.c \
391 src/dbus-execute.c \
392 src/dbus-path.c \
393 src/cgroup.c \
394 src/mount-setup.c \
395 src/hostname-setup.c \
396 src/loopback-setup.c \
397 src/kmod-setup.c \
398 src/locale-setup.c \
399 src/specifier.c \
400 src/unit-name.c \
401 src/fdset.c \
402 src/namespace.c \
403 src/tcpwrap.c \
404 src/cgroup-util.c
405
406 libsystemd_core_la_CFLAGS = \
407 $(AM_CFLAGS) \
408 $(DBUS_CFLAGS) \
409 $(UDEV_CFLAGS) \
410 $(LIBWRAP_CFLAGS) \
411 $(PAM_CFLAGS) \
412 $(AUDIT_CFLAGS)
413
414 libsystemd_core_la_LIBADD = \
415 libsystemd-basic.la \
416 $(DBUS_LIBS) \
417 $(UDEV_LIBS) \
418 $(LIBWRAP_LIBS) \
419 $(PAM_LIBS) \
420 $(AUDIT_LIBS)
421
422 # This is needed because automake is buggy in how it generates the
423 # rules for C programs, but not Vala programs. We therefore can't
424 # list the .h files as dependencies if we want make dist to work.
425
426 EXTRA_DIST += \
427 ${libsystemd_basic_la_SOURCES:.c=.h} \
428 ${libsystemd_core_la_SOURCES:.c=.h} \
429 src/macro.h \
430 src/ioprio.h \
431 src/missing.h \
432 src/list.h \
433 src/securebits.h \
434 src/linux/auto_dev-ioctl.h \
435 src/linux/fanotify.h \
436 src/initreq.h \
437 src/sd-daemon.h \
438 src/sd-readahead.h \
439 src/special.h \
440 src/dbus-common.h \
441 src/bus-errors.h \
442 src/cgroup-show.h \
443 src/utmp-wtmp.h \
444 src/build.h \
445 src/shutdownd.h \
446 src/readahead-common.h
447
448 MANPAGES = \
449 man/systemd.1 \
450 man/systemctl.1 \
451 man/systemadm.1 \
452 man/systemd-cgls.1 \
453 man/systemd-notify.1 \
454 man/sd_notify.3 \
455 man/sd_readahead.3 \
456 man/sd_booted.3 \
457 man/sd_listen_fds.3 \
458 man/sd_is_fifo.3 \
459 man/systemd.unit.5 \
460 man/systemd.service.5 \
461 man/systemd.socket.5 \
462 man/systemd.mount.5 \
463 man/systemd.automount.5 \
464 man/systemd.swap.5 \
465 man/systemd.timer.5 \
466 man/systemd.path.5 \
467 man/systemd.target.5 \
468 man/systemd.device.5 \
469 man/systemd.snapshot.5 \
470 man/systemd.exec.5 \
471 man/daemon.7 \
472 man/sd-daemon.7 \
473 man/sd-readahead.7 \
474 man/runlevel.8 \
475 man/telinit.8 \
476 man/halt.8 \
477 man/shutdown.8 \
478 man/pam_systemd.8 \
479 man/systemd.conf.5
480
481 MANPAGES_ALIAS = \
482 man/reboot.8 \
483 man/poweroff.8 \
484 man/sd_is_socket.3 \
485 man/sd_is_socket_unix.3 \
486 man/sd_is_socket_inet.3 \
487 man/sd_notifyf.3 \
488 man/init.1
489
490 man/reboot.8: man/halt.8
491 man/poweroff.8: man/halt.8
492 man/sd_is_socket.3: man/sd_is_fifo.3
493 man/sd_is_socket_unix.3: man/sd_is_fifo.3
494 man/sd_is_socket_inet.3: man/sd_is_fifo.3
495 man/sd_notifyf.3: man/sd_notify.3
496 man/init.1: man/systemd.1
497
498 dist_man_MANS = \
499 $(MANPAGES) \
500 $(MANPAGES_ALIAS)
501
502 nodist_man_MANS = \
503 man/systemd.special.7
504
505 XML_FILES = \
506 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
507
508 XML_IN_FILES = \
509 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
510
511 dist_noinst_DATA = \
512 ${XML_FILES:.xml=.html}
513
514 nodist_noinst_DATA = \
515 ${XML_IN_FILES:.xml.in=.html}
516
517 EXTRA_DIST += \
518 $(XML_FILES) \
519 $(XML_IN_FILES) \
520 ${nodist_man_MANS:=.in} \
521 ${XML_IN_FILES:.xml.in=.html.in}
522
523 systemd_SOURCES = \
524 src/main.c
525
526 systemd_CFLAGS = \
527 $(AM_CFLAGS) \
528 $(DBUS_CFLAGS) \
529 $(UDEV_CFLAGS)
530
531 systemd_LDADD = \
532 libsystemd-core.la
533
534 test_engine_SOURCES = \
535 src/test-engine.c
536
537 test_engine_CFLAGS = $(systemd_CFLAGS)
538 test_engine_LDADD = $(systemd_LDADD)
539
540 test_job_type_SOURCES = \
541 src/test-job-type.c
542
543 test_job_type_CFLAGS = $(systemd_CFLAGS)
544 test_job_type_LDADD = $(systemd_LDADD)
545
546 test_ns_SOURCES = \
547 src/test-ns.c
548
549 test_ns_CFLAGS = $(systemd_CFLAGS)
550 test_ns_LDADD = $(systemd_LDADD)
551
552 test_loopback_SOURCES = \
553 src/test-loopback.c \
554 src/loopback-setup.c
555
556 test_loopback_LDADD = \
557 libsystemd-basic.la
558
559 test_hostname_SOURCES = \
560 src/test-hostname.c \
561 src/hostname-setup.c
562
563 test_hostname_LDADD = \
564 libsystemd-basic.la
565
566 test_daemon_SOURCES = \
567 src/test-daemon.c \
568 src/sd-daemon.c
569
570 test_daemon_LDADD = \
571 libsystemd-basic.la
572
573 test_cgroup_SOURCES = \
574 src/test-cgroup.c \
575 src/cgroup-util.c
576
577 test_cgroup_CFLAGS = \
578 $(AM_CFLAGS)
579
580 test_cgroup_LDADD = \
581 libsystemd-basic.la
582
583 test_env_replace_SOURCES = \
584 src/test-env-replace.c
585
586 test_env_replace_CFLAGS = \
587 $(AM_CFLAGS)
588
589 test_env_replace_LDADD = \
590 libsystemd-basic.la
591
592 systemd_logger_SOURCES = \
593 src/logger.c \
594 src/sd-daemon.c \
595 src/tcpwrap.c
596
597 systemd_logger_LDADD = \
598 libsystemd-basic.la \
599 $(LIBWRAP_LIBS)
600
601 systemd_initctl_SOURCES = \
602 src/initctl.c \
603 src/sd-daemon.c \
604 src/dbus-common.c
605
606 systemd_initctl_CFLAGS = \
607 $(AM_CFLAGS) \
608 $(DBUS_CFLAGS)
609
610 systemd_initctl_LDADD = \
611 libsystemd-basic.la \
612 $(DBUS_LIBS)
613
614 systemd_update_utmp_SOURCES = \
615 src/update-utmp.c \
616 src/dbus-common.c \
617 src/utmp-wtmp.c
618
619 systemd_update_utmp_CFLAGS = \
620 $(AM_CFLAGS) \
621 $(DBUS_CFLAGS) \
622 $(AUDIT_CFLAGS)
623
624 systemd_update_utmp_LDADD = \
625 libsystemd-basic.la \
626 $(DBUS_LIBS) \
627 $(AUDIT_LIBS)
628
629 systemd_random_seed_SOURCES = \
630 src/random-seed.c
631
632 systemd_random_seed_CFLAGS = \
633 $(AM_CFLAGS)
634
635 systemd_random_seed_LDADD = \
636 libsystemd-basic.la
637
638 systemd_shutdownd_SOURCES = \
639 src/utmp-wtmp.c \
640 src/sd-daemon.c \
641 src/shutdownd.c
642
643 systemd_shutdownd_CFLAGS = \
644 $(AM_CFLAGS)
645
646 systemd_shutdownd_LDADD = \
647 libsystemd-basic.la
648
649 systemd_shutdown_SOURCES = \
650 src/mount-setup.c \
651 src/umount.c \
652 src/shutdown.c
653
654 systemd_shutdown_CFLAGS = \
655 $(AM_CFLAGS) \
656 $(UDEV_CFLAGS)
657
658 systemd_shutdown_LDADD = \
659 libsystemd-basic.la \
660 $(UDEV_LIBS)
661
662 systemd_modules_load_SOURCES = \
663 src/modules-load.c
664
665 systemd_modules_load_CFLAGS = \
666 $(AM_CFLAGS)
667
668 systemd_tmpfiles_LDADD = \
669 libsystemd-basic.la
670
671 systemd_tmpfiles_SOURCES = \
672 src/tmpfiles.c
673
674 systemd_tmpfiles_CFLAGS = \
675 $(AM_CFLAGS)
676
677 systemd_user_sessions_LDADD = \
678 libsystemd-basic.la
679
680 systemd_user_sessions_SOURCES = \
681 src/user-sessions.c \
682 src/cgroup-util.c
683
684 systemd_user_sessions_CFLAGS = \
685 $(AM_CFLAGS)
686
687 systemd_modules_load_LDADD = \
688 libsystemd-basic.la
689
690 systemd_vconsole_setup_SOURCES = \
691 src/vconsole-setup.c
692
693 systemd_vconsole_setup_CFLAGS = \
694 $(AM_CFLAGS)
695
696 systemd_vconsole_setup_LDADD = \
697 libsystemd-basic.la
698
699 systemd_remount_api_vfs_SOURCES = \
700 src/remount-api-vfs.c \
701 src/mount-setup.c
702
703 systemd_remount_api_vfs_CFLAGS = \
704 $(AM_CFLAGS)
705
706 systemd_remount_api_vfs_LDADD = \
707 libsystemd-basic.la
708
709 systemd_cgroups_agent_SOURCES = \
710 src/cgroups-agent.c \
711 src/dbus-common.c
712
713 systemd_cgroups_agent_CFLAGS = \
714 $(AM_CFLAGS) \
715 $(DBUS_CFLAGS)
716
717 systemd_cgroups_agent_LDADD = \
718 libsystemd-basic.la \
719 $(DBUS_LIBS)
720
721 systemd_kmsg_syslogd_SOURCES = \
722 src/kmsg-syslogd.c \
723 src/sd-daemon.c \
724 src/fdset.c
725
726 systemd_kmsg_syslogd_CFLAGS = \
727 $(AM_CFLAGS)
728
729 systemd_kmsg_syslogd_LDADD = \
730 libsystemd-basic.la
731
732 systemctl_SOURCES = \
733 src/systemctl.c \
734 src/utmp-wtmp.c \
735 src/dbus-common.c \
736 src/path-lookup.c \
737 src/sd-daemon.c \
738 src/cgroup-show.c \
739 src/cgroup-util.c \
740 src/exit-status.c \
741 src/unit-name.c
742
743 systemctl_CFLAGS = \
744 $(AM_CFLAGS) \
745 $(DBUS_CFLAGS)
746
747 systemctl_LDADD = \
748 libsystemd-basic.la \
749 $(DBUS_LIBS)
750
751 systemd_notify_SOURCES = \
752 src/notify.c \
753 src/sd-daemon.c \
754 src/sd-readahead.c
755
756 systemd_notify_LDADD = \
757 libsystemd-basic.la
758
759 systemd_ask_password_SOURCES = \
760 src/ask-password.c
761
762 systemd_ask_password_LDADD = \
763 libsystemd-basic.la
764
765 systemd_reply_password_SOURCES = \
766 src/reply-password.c
767
768 systemd_reply_password_LDADD = \
769 libsystemd-basic.la
770
771 systemd_readahead_collect_SOURCES = \
772 src/readahead-collect.c \
773 src/sd-daemon.c \
774 src/readahead-common.c
775
776 systemd_readahead_collect_CFLAGS = \
777 $(UDEV_CFLAGS)
778
779 systemd_readahead_collect_LDADD = \
780 libsystemd-basic.la \
781 $(UDEV_LIBS)
782
783 systemd_readahead_replay_SOURCES = \
784 src/readahead-replay.c \
785 src/sd-daemon.c \
786 src/readahead-common.c
787
788 systemd_readahead_replay_CFLAGS = \
789 $(UDEV_CFLAGS)
790
791 systemd_readahead_replay_LDADD = \
792 libsystemd-basic.la \
793 $(UDEV_LIBS)
794
795 systemd_cgls_SOURCES = \
796 src/cgls.c \
797 src/cgroup-show.c \
798 src/cgroup-util.c
799
800 systemd_cgls_CFLAGS = \
801 $(AM_CFLAGS)
802
803 systemd_cgls_LDADD = \
804 libsystemd-basic.la
805
806 systemadm_SOURCES = \
807 src/systemadm.vala \
808 src/systemd-interfaces.vala
809
810 systemadm_CFLAGS = \
811 $(AM_CFLAGS) \
812 $(DBUSGLIB_CFLAGS) \
813 $(GTK_CFLAGS) \
814 -Wno-unused-variable \
815 -Wno-unused-function \
816 -Wno-shadow \
817 -Wno-format-nonliteral
818
819 systemadm_VALAFLAGS = \
820 --pkg=dbus-glib-1 \
821 --pkg=posix \
822 --pkg=gtk+-2.0 \
823 -g
824
825 systemadm_LDADD = \
826 $(DBUSGLIB_LIBS) \
827 $(GTK_LIBS)
828
829 systemd_ask_password_agent_SOURCES = \
830 src/ask-password-agent.vala
831
832 systemd_ask_password_agent_CFLAGS = \
833 $(AM_CFLAGS) \
834 $(DBUSGLIB_CFLAGS) \
835 $(GTK_CFLAGS) \
836 -Wno-unused-variable \
837 -Wno-unused-function \
838 -Wno-shadow \
839 -Wno-format-nonliteral
840
841 systemd_ask_password_agent_VALAFLAGS = \
842 --pkg=dbus-glib-1 \
843 --pkg=posix \
844 --pkg=gtk+-2.0 \
845 --pkg=linux \
846 --pkg=gio-unix-2.0 \
847 --pkg=libnotify \
848 -g
849
850 systemd_ask_password_agent_LDADD = \
851 $(DBUSGLIB_LIBS) \
852 $(GTK_LIBS)
853
854 pam_systemd_la_SOURCES = \
855 src/pam-module.c \
856 src/cgroup-util.c \
857 src/sd-daemon.c
858
859 pam_systemd_la_CFLAGS = \
860 $(AM_CFLAGS)
861 -fvisibility=hidden
862
863 pam_systemd_la_LDFLAGS = \
864 -module \
865 -export-dynamic \
866 -avoid-version \
867 -shared \
868 -export-symbols-regex '^pam_sm_.*'
869
870 pam_systemd_la_LIBADD = \
871 libsystemd-basic.la \
872 $(PAM_LIBS)
873
874 SED_PROCESS = \
875 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
876 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
877 -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \
878 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
879 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
880 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
881 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
882 -e 's,@systemunitdir\@,$(systemunitdir),g' \
883 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
884 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
885 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
886 -e 's,@prefix\@,$(prefix),g' \
887 < $< > $@
888
889 units/%: units/%.in Makefile
890 $(SED_PROCESS)
891
892 man/%: man/%.in Makefile
893 $(SED_PROCESS)
894
895 %.pc: %.pc.in Makefile
896 $(SED_PROCESS)
897
898 M4_PROCESS_SYSTEM = \
899 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
900 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@
901
902 M4_PROCESS_SESSION = \
903 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
904 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@
905
906 units/%: units/%.m4 Makefile
907 $(M4_PROCESS_SYSTEM)
908
909 units/session/%: units/%.m4 Makefile
910 $(M4_PROCESS_SESSION)
911
912 CLEANFILES = \
913 $(nodist_systemunit_DATA) \
914 $(nodist_sessionunit_DATA) \
915 $(nodist_man_MANS) \
916 ${XML_IN_FILES:.xml.in=.html} \
917 $(pkgconfigdata_DATA)
918
919 if HAVE_VALAC
920 CLEANFILES += \
921 ${systemadm_SOURCES:.vala=.c}
922 endif
923
924 if HAVE_XSLTPROC
925 XSLTPROC_FLAGS = \
926 --nonet \
927 --param funcsynopsis.style "'ansi'"
928
929 XSLTPROC_PROCESS_MAN = \
930 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
931 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
932
933 XSLTPROC_PROCESS_MAN_IN = \
934 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
935 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
936 mv ${@:.in=} $@
937
938 XSLTPROC_PROCESS_HTML = \
939 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
940 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
941
942 XSLTPROC_PROCESS_HTML_IN = \
943 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
944 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
945 mv ${@:.in=} $@
946
947 man/%.1: man/%.xml
948 $(XSLTPROC_PROCESS_MAN)
949
950 man/%.1.in: man/%.xml.in
951 $(XSLTPROC_PROCESS_MAN)
952
953 man/%.3: man/%.xml
954 $(XSLTPROC_PROCESS_MAN)
955
956 man/%.3.in: man/%.xml.in
957 $(XSLTPROC_PROCESS_MAN)
958
959 man/%.5: man/%.xml
960 $(XSLTPROC_PROCESS_MAN)
961
962 man/%.5.in: man/%.xml.in
963 $(XSLTPROC_PROCESS_MAN)
964
965 man/%.7: man/%.xml
966 $(XSLTPROC_PROCESS_MAN)
967
968 man/%.7.in: man/%.xml.in
969 $(XSLTPROC_PROCESS_MAN_IN)
970
971 man/%.8: man/%.xml
972 $(XSLTPROC_PROCESS_MAN)
973
974 man/%.8.in: man/%.xml.in
975 $(XSLTPROC_PROCESS_MAN_IN)
976
977 man/%.html: man/%.xml
978 $(XSLTPROC_PROCESS_HTML)
979
980 man/%.html.in: man/%.xml.in
981 $(XSLTPROC_PROCESS_HTML_IN)
982
983 CLEANFILES += \
984 $(dist_man_MANS) \
985 ${nodist_man_MANS:=.in} \
986 ${XML_FILES:.xml=.html} \
987 ${XML_IN_FILES:.xml.in=.html.in}
988 endif
989
990 org.freedesktop.systemd1.%.xml: systemd
991 $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@
992
993 CLEANFILES += \
994 $(dbusinterface_DATA)
995
996 install-data-hook:
997 $(MKDIR_P) -m 0755 \
998 $(DESTDIR)$(systemunitdir) \
999 $(DESTDIR)$(sessionunitdir) \
1000 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1001 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1002 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1003 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1004 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1005 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1006 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1007 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1008 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1009 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1010 $(DESTDIR)$(pkgsysconfdir)/system \
1011 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1012 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1013 $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \
1014 $(DESTDIR)$(pkgsysconfdir)/session \
1015 $(DESTDIR)$(sysconfdir)/xdg/systemd
1016 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1017 rm -f session && \
1018 $(LN_S) $(pkgsysconfdir)/session session )
1019 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1020 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket && \
1021 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1022 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1023 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
1024 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1025 rm -f systemd-update-utmp-runlevel.service && \
1026 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1027 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1028 rm -f systemd-update-utmp-runlevel.service && \
1029 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1030 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1031 rm -f systemd-update-utmp-runlevel.service && \
1032 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1033 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1034 rm -f systemd-update-utmp-runlevel.service && \
1035 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1036 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1037 rm -f systemd-update-utmp-runlevel.service && \
1038 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1039 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1040 rm -f systemd-update-utmp-shutdown.service \
1041 hwclock-save.service \
1042 systemd-random-seed-save.service && \
1043 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1044 $(LN_S) ../hwclock-save.service hwclock-save.service && \
1045 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1046 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1047 rm -f systemd-remount-api-vfs.service \
1048 remount-rootfs.service \
1049 var-run.mount \
1050 var-lock.mount && \
1051 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1052 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1053 $(LN_S) ../var-run.mount var-run.mount && \
1054 $(LN_S) ../var-lock.mount var-lock.mount )
1055 ( cd $(DESTDIR)$(sessionunitdir) && \
1056 rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \
1057 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1058 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1059 $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \
1060 $(LN_S) $(systemunitdir)/swap.target swap.target && \
1061 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1062 $(LN_S) $(systemunitdir)/printer.target printer.target)
1063 ( cd $(DESTDIR)$(systemunitdir) && \
1064 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1065 $(LN_S) poweroff.target runlevel0.target && \
1066 $(LN_S) rescue.target runlevel1.target && \
1067 $(LN_S) multi-user.target runlevel2.target && \
1068 $(LN_S) multi-user.target runlevel3.target && \
1069 $(LN_S) multi-user.target runlevel4.target && \
1070 $(LN_S) graphical.target runlevel5.target && \
1071 $(LN_S) reboot.target runlevel6.target )
1072 ( cd $(DESTDIR)$(systemunitdir) && \
1073 rm -f default.target ctrl-alt-del.target && \
1074 $(LN_S) graphical.target default.target && \
1075 $(LN_S) reboot.target ctrl-alt-del.target )
1076 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1077 rm -f getty.target systemd-user-sessions.service && \
1078 $(LN_S) ../getty.target getty.target && \
1079 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service )
1080 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1081 rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
1082 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
1083 $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \
1084 $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \
1085 $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \
1086 $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \
1087 $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service )
1088 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1089 rm -f remote-fs.target && \
1090 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1091 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1092 rm -f dev-hugepages.automount \
1093 dev-mqueue.automount \
1094 proc-sys-fs-binfmt_misc.automount \
1095 sys-kernel-debug.automount \
1096 sys-kernel-security.automount \
1097 systemd-vconsole-setup.service \
1098 systemd-modules-load.service \
1099 systemd-random-seed-load.service \
1100 systemd-tmpfiles.service \
1101 sysctl.service \
1102 tmpwatch.timer \
1103 tmpwatch.service && \
1104 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1105 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1106 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \
1107 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1108 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1109 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1110 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1111 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1112 $(LN_S) ../systemd-tmpfiles.service systemd-tmpfiles.service && \
1113 $(LN_S) ../sysctl.service sysctl.service && \
1114 $(LN_S) ../tmpwatch.timer tmpwatch.timer && \
1115 $(LN_S) ../tmpwatch.service tmpwatch.service )
1116 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1117 rm -f org.freedesktop.systemd1.service && \
1118 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1119 if TARGET_FEDORA
1120 $(MKDIR_P) -m 0755 \
1121 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1122 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1123 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1124 $(DESTDIR)$(systemunitdir)/halt.target.wants \
1125 $(DESTDIR)$(systemunitdir)/rescue.target.wants \
1126 $(DESTDIR)$(systemunitdir)/multi-user.target.wants
1127 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
1128 rm -f display-manager.service && \
1129 $(LN_S) $(systemunitdir)/prefdm.service display-manager.service )
1130 ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
1131 rm -f prefdm.service && \
1132 $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
1133 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1134 rm -f rc-local.service && \
1135 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1136 ( cd $(DESTDIR)$(systemunitdir)/rescue.target.wants && \
1137 rm -f single.service && \
1138 $(LN_S) $(systemunitdir)/single.service single.service )
1139 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1140 rm -f plymouth-quit.service && \
1141 $(LN_S) ../plymouth-quit.service plymouth-quit.service )
1142 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1143 rm -f plymouth-reboot.service && \
1144 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1145 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1146 rm -f plymouth-poweroff.service && \
1147 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1148 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1149 rm -f plymouth-halt.service && \
1150 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1151 ( cd $(DESTDIR)$(systemunitdir) && \
1152 rm -f local.service && \
1153 $(LN_S) rc-local.service local.service )
1154 ( cd $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) && \
1155 $(LN_S) halt reboot > /dev/null 2>&1 || true )
1156 endif
1157 if TARGET_GENTOO
1158 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
1159 rm -f display-manager.service && \
1160 $(LN_S) $(systemunitdir)/xdm.service display-manager.service )
1161 ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
1162 rm -f xdm.service && \
1163 $(LN_S) $(systemunitdir)/xdm.service xdm.service )
1164 endif
1165 if TARGET_DEBIAN
1166 $(MKDIR_P) -m 0755 \
1167 $(DESTDIR)$(systemunitdir)/umount.target.wants
1168 ( cd $(DESTDIR)$(systemunitdir)/umount.target.wants && \
1169 rm -f umountfs.service umountnfs.service umountroot.service && \
1170 $(LN_S) ../umountfs.service umountfs.service && \
1171 $(LN_S) ../umountnfs.service umountnfs.service && \
1172 $(LN_S) ../umountroot.service umountroot.service )
1173 ( cd $(DESTDIR)$(systemunitdir) && \
1174 rm -f runlevel5.target && \
1175 $(LN_S) multi-user.target runlevel5.target )
1176 endif
1177 if !TARGET_SUSE
1178 if !TARGET_DEBIAN
1179 ( cd $(DESTDIR)$(systemunitdir) && \
1180 rm -f fsck.target && \
1181 $(LN_S) sysinit.target fsck.target )
1182 endif
1183 endif
1184
1185 DISTCHECK_CONFIGURE_FLAGS = \
1186 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1187 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1188 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1189 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1190 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1191 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1192 --with-rootdir=$$dc_install_base/$(rootdir)
1193
1194 upload: all distcheck
1195 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1196 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1197 scp man/*.html tango:public/systemd-man/
1198
1199 git-tag:
1200 git tag "v$(VERSION)" -m "systemd $(VERSION)"
1201
1202 # Opt out from a few services on Fedora for now, as long as rc.sysinit does this job
1203 fedora: install
1204 rm /lib/systemd/system/local-fs.target.wants/var-run.mount
1205 rm /lib/systemd/system/local-fs.target.wants/var-lock.mount