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