1 # This file is part of systemd.
3 # Copyright 2010 Lennart Poettering
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.
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.
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/>.
18 ACLOCAL_AMFLAGS = -I m4
20 # Dirs of external packages
21 dbuspolicydir=@dbuspolicydir@
22 dbussessionservicedir=@dbussessionservicedir@
23 dbussystemservicedir=@dbussystemservicedir@
24 dbusinterfacedir=@dbusinterfacedir@
25 udevrulesdir=@udevrulesdir@
27 pkgconfigdatadir=$(datadir)/pkgconfig
29 # Our own, non-special dirs
30 pkgsysconfdir=$(sysconfdir)/systemd
31 sessionunitdir=$(pkgdatadir)/session
33 # And these are the special ones for /
35 rootbindir=$(rootdir)/bin
36 rootlibexecdir=$(rootdir)/lib/systemd
37 systemunitdir=$(rootdir)/lib/systemd/system
40 -include $(top_builddir)/config.h \
41 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
42 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
43 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
44 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
45 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
46 -DSESSION_CONFIG_FILE=\"$(pkgsysconfdir)/session.conf\" \
47 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
48 -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \
49 -DCGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
50 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
51 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
52 -DRUNTIME_DIR=\"$(localstatedir)/run\" \
53 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
69 rootlibexec_PROGRAMS = \
71 systemd-cgroups-agent \
76 systemd-modules-load \
77 systemd-remount-api-vfs \
91 pamlib_LTLIBRARIES = \
95 dist_pkgsysconf_DATA = \
98 dist_dbuspolicy_DATA = \
99 src/org.freedesktop.systemd1.conf
101 dist_dbussystemservice_DATA = \
102 src/org.freedesktop.systemd1.service
104 dist_udevrules_DATA = \
107 dbusinterface_DATA = \
108 org.freedesktop.systemd1.Manager.xml \
109 org.freedesktop.systemd1.Job.xml \
110 org.freedesktop.systemd1.Unit.xml \
111 org.freedesktop.systemd1.Service.xml \
112 org.freedesktop.systemd1.Socket.xml \
113 org.freedesktop.systemd1.Timer.xml \
114 org.freedesktop.systemd1.Target.xml \
115 org.freedesktop.systemd1.Device.xml \
116 org.freedesktop.systemd1.Mount.xml \
117 org.freedesktop.systemd1.Automount.xml \
118 org.freedesktop.systemd1.Snapshot.xml \
119 org.freedesktop.systemd1.Swap.xml \
120 org.freedesktop.systemd1.Path.xml
122 dist_systemunit_DATA = \
123 units/emergency.service \
124 units/emergency.target \
128 units/local-fs.target \
129 units/network.target \
130 units/nss-lookup.target \
131 units/mail-transfer-agent.target \
132 units/poweroff.target \
133 units/reboot.target \
134 units/rescue.target \
135 units/rpcbind.target \
136 units/rtc-set.target \
137 units/shutdown.target \
138 units/umount.target \
139 units/sigpwr.target \
140 units/sockets.target \
143 units/systemd-initctl.socket \
144 units/systemd-logger.socket \
145 units/systemd-shutdownd.socket \
146 units/systemd-kmsg-syslogd.socket \
147 units/dev-hugepages.automount \
148 units/dev-hugepages.mount \
149 units/dev-mqueue.automount \
150 units/dev-mqueue.mount \
151 units/proc-sys-fs-binfmt_misc.automount \
152 units/proc-sys-fs-binfmt_misc.mount \
153 units/sys-kernel-debug.automount \
154 units/sys-kernel-debug.mount \
155 units/sys-kernel-security.automount \
156 units/sys-kernel-security.mount \
158 units/var-lock.mount \
159 units/var-lock.service \
160 units/var-run.mount \
161 units/var-run.service \
162 units/hwclock-load.service \
163 units/hwclock-save.service \
164 units/sysctl.service \
165 units/remount-rootfs.service \
166 units/printer.target \
167 units/bluetooth.target \
168 units/smartcard.target
170 nodist_systemunit_DATA = \
171 units/sysinit.target \
172 units/getty@.service \
173 units/serial-getty@.service \
174 units/graphical.target \
175 units/remote-fs.target \
176 units/multi-user.target \
177 units/systemd-initctl.service \
178 units/systemd-logger.service \
179 units/systemd-shutdownd.service \
180 units/systemd-kmsg-syslogd.service \
181 units/systemd-modules-load.service \
182 units/systemd-remount-api-vfs.service \
183 units/systemd-update-utmp-runlevel.service \
184 units/systemd-update-utmp-shutdown.service \
185 units/systemd-random-seed-save.service \
186 units/systemd-random-seed-load.service \
189 dist_sessionunit_DATA = \
190 units/session/default.target
192 nodist_sessionunit_DATA = \
193 units/session/remote-fs.target \
194 units/session/exit.service
197 units/sysinit.target.m4 \
198 units/getty@.service.m4 \
199 units/serial-getty@.service.m4 \
200 units/graphical.target.m4 \
201 units/multi-user.target.m4 \
202 units/remote-fs.target.m4 \
203 units/systemd-initctl.service.in \
204 units/systemd-logger.service.in \
205 units/systemd-shutdownd.service.in \
206 units/systemd-kmsg-syslogd.service.in \
207 units/systemd-modules-load.service.in \
208 units/systemd-remount-api-vfs.service.in \
209 units/systemd-update-utmp-runlevel.service.in \
210 units/systemd-update-utmp-shutdown.service.in \
211 units/systemd-random-seed-save.service.in \
212 units/systemd-random-seed-load.service.in \
213 units/syslog.target.in \
214 units/session/exit.service.in \
218 dist_systemunit_DATA += \
219 units/fedora/halt.service \
220 units/fedora/killall.service \
221 units/fedora/poweroff.service \
222 units/fedora/prefdm.service \
223 units/fedora/rc-local.service \
224 units/fedora/reboot.service \
225 units/fedora/sysinit.service \
226 units/fedora/single.service \
227 units/fedora/plymouth-quit.service \
228 units/fedora/plymouth-reboot.service \
229 units/fedora/plymouth-poweroff.service \
230 units/fedora/plymouth-halt.service
234 dist_systemunit_DATA += \
235 units/suse/halt.service \
236 units/suse/poweroff.service \
237 units/suse/reboot.service \
238 units/suse/fsck.target
242 dist_systemunit_DATA += \
243 units/gentoo/halt.service \
244 units/gentoo/killall.service \
245 units/gentoo/poweroff.service \
246 units/gentoo/reboot.service \
247 units/gentoo/xdm.service
251 dist_systemunit_DATA += \
252 units/arch/sysinit.service \
253 units/arch/rc-local.service \
254 units/arch/halt.service \
255 units/arch/poweroff.service \
256 units/arch/reboot.service
266 pkgconfigdata_DATA = \
269 noinst_LTLIBRARIES = \
270 libsystemd-basic.la \
273 libsystemd_basic_la_SOURCES = \
284 libsystemd_basic_la_CFLAGS = \
288 libsystemd_basic_la_LIBADD = \
291 libsystemd_core_la_SOURCES = \
296 src/load-fragment.c \
319 src/dbus-automount.c \
321 src/dbus-snapshot.c \
327 src/hostname-setup.c \
328 src/loopback-setup.c \
337 libsystemd_core_la_CFLAGS = \
345 libsystemd_core_la_LIBADD = \
346 libsystemd-basic.la \
353 # This is needed because automake is buggy in how it generates the
354 # rules for C programs, but not Vala programs. We therefore can't
355 # list the .h files as dependencies if we want make dist to work.
358 ${libsystemd_basic_la_SOURCES:.c=.h} \
359 ${libsystemd_core_la_SOURCES:.c=.h} \
365 src/linux/auto_dev-ioctl.h \
381 man/systemd-notify.1 \
384 man/sd_listen_fds.3 \
387 man/systemd.service.5 \
388 man/systemd.socket.5 \
389 man/systemd.mount.5 \
390 man/systemd.automount.5 \
392 man/systemd.timer.5 \
394 man/systemd.target.5 \
395 man/systemd.device.5 \
396 man/systemd.snapshot.5 \
411 man/sd_is_socket_unix.3 \
412 man/sd_is_socket_inet.3 \
416 man/reboot.8: man/halt.8
417 man/poweroff.8: man/halt.8
418 man/sd_is_socket.3: man/sd_is_fifo.3
419 man/sd_is_socket_unix.3: man/sd_is_fifo.3
420 man/sd_is_socket_inet.3: man/sd_is_fifo.3
421 man/sd_notifyf.3: man/sd_notify.3
422 man/init.1: man/systemd.1
429 man/systemd.special.7
432 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
435 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
438 ${XML_FILES:.xml=.html}
440 nodist_noinst_DATA = \
441 ${XML_IN_FILES:.xml.in=.html}
446 ${nodist_man_MANS:=.in} \
447 ${XML_IN_FILES:.xml.in=.html.in}
460 test_engine_SOURCES = \
463 test_engine_CFLAGS = $(systemd_CFLAGS)
464 test_engine_LDADD = $(systemd_LDADD)
466 test_job_type_SOURCES = \
469 test_job_type_CFLAGS = $(systemd_CFLAGS)
470 test_job_type_LDADD = $(systemd_LDADD)
475 test_ns_CFLAGS = $(systemd_CFLAGS)
476 test_ns_LDADD = $(systemd_LDADD)
478 test_loopback_SOURCES = \
479 src/test-loopback.c \
482 test_loopback_LDADD = \
485 test_hostname_SOURCES = \
486 src/test-hostname.c \
489 test_hostname_LDADD = \
492 test_daemon_SOURCES = \
496 test_daemon_LDADD = \
499 test_cgroup_SOURCES = \
503 test_cgroup_CFLAGS = \
506 test_cgroup_LDADD = \
509 test_env_replace_SOURCES = \
510 src/test-env-replace.c
512 test_env_replace_CFLAGS = \
515 test_env_replace_LDADD = \
518 systemd_logger_SOURCES = \
523 systemd_logger_LDADD = \
524 libsystemd-basic.la \
527 systemd_initctl_SOURCES = \
532 systemd_initctl_CFLAGS = \
536 systemd_initctl_LDADD = \
537 libsystemd-basic.la \
540 systemd_update_utmp_SOURCES = \
545 systemd_update_utmp_CFLAGS = \
550 systemd_update_utmp_LDADD = \
551 libsystemd-basic.la \
555 systemd_random_seed_SOURCES = \
558 systemd_random_seed_CFLAGS = \
561 systemd_random_seed_LDADD = \
564 systemd_shutdownd_SOURCES = \
569 systemd_shutdownd_CFLAGS = \
572 systemd_shutdownd_LDADD = \
575 systemd_modules_load_SOURCES = \
578 systemd_modules_load_CFLAGS = \
581 systemd_modules_load_LDADD = \
584 systemd_remount_api_vfs_SOURCES = \
585 src/remount-api-vfs.c \
588 systemd_remount_api_vfs_CFLAGS = \
591 systemd_remount_api_vfs_LDADD = \
594 systemd_cgroups_agent_SOURCES = \
595 src/cgroups-agent.c \
598 systemd_cgroups_agent_CFLAGS = \
602 systemd_cgroups_agent_LDADD = \
603 libsystemd-basic.la \
606 systemd_kmsg_syslogd_SOURCES = \
611 systemd_kmsg_syslogd_CFLAGS = \
614 systemd_kmsg_syslogd_LDADD = \
617 systemctl_SOURCES = \
632 libsystemd-basic.la \
635 systemd_notify_SOURCES = \
639 systemd_notify_LDADD = \
642 systemd_cgls_SOURCES = \
647 systemd_cgls_CFLAGS = \
650 systemd_cgls_LDADD = \
653 systemadm_SOURCES = \
655 src/systemd-interfaces.vala
661 -Wno-unused-variable \
662 -Wno-unused-function \
664 -Wno-format-nonliteral
666 systemadm_VALAFLAGS = \
676 pam_systemd_la_SOURCES = \
681 pam_systemd_la_CFLAGS = \
685 pam_systemd_la_LDFLAGS = \
690 -export-symbols-regex '^pam_sm_.*'
692 pam_systemd_la_LIBADD = \
693 libsystemd-basic.la \
697 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
698 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
699 -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \
700 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
701 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
702 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
703 -e 's,@systemunitdir\@,$(systemunitdir),g' \
704 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
705 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
706 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
707 -e 's,@prefix\@,$(prefix),g' \
710 units/%: units/%.in Makefile
713 man/%: man/%.in Makefile
716 %.pc: %.pc.in Makefile
719 M4_PROCESS_SYSTEM = \
720 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
721 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@
723 M4_PROCESS_SESSION = \
724 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
725 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@
727 units/%: units/%.m4 Makefile
730 units/session/%: units/%.m4 Makefile
731 $(M4_PROCESS_SESSION)
734 $(nodist_systemunit_DATA) \
735 $(nodist_sessionunit_DATA) \
737 ${XML_IN_FILES:.xml.in=.html} \
738 $(pkgconfigdata_DATA)
742 ${systemadm_SOURCES:.vala=.c}
748 --param funcsynopsis.style "'ansi'"
750 XSLTPROC_PROCESS_MAN = \
751 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
752 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
754 XSLTPROC_PROCESS_MAN_IN = \
755 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
756 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
759 XSLTPROC_PROCESS_HTML = \
760 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
761 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
763 XSLTPROC_PROCESS_HTML_IN = \
764 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
765 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
769 $(XSLTPROC_PROCESS_MAN)
771 man/%.1.in: man/%.xml.in
772 $(XSLTPROC_PROCESS_MAN)
775 $(XSLTPROC_PROCESS_MAN)
777 man/%.3.in: man/%.xml.in
778 $(XSLTPROC_PROCESS_MAN)
781 $(XSLTPROC_PROCESS_MAN)
783 man/%.5.in: man/%.xml.in
784 $(XSLTPROC_PROCESS_MAN)
787 $(XSLTPROC_PROCESS_MAN)
789 man/%.7.in: man/%.xml.in
790 $(XSLTPROC_PROCESS_MAN_IN)
793 $(XSLTPROC_PROCESS_MAN)
795 man/%.8.in: man/%.xml.in
796 $(XSLTPROC_PROCESS_MAN_IN)
798 man/%.html: man/%.xml
799 $(XSLTPROC_PROCESS_HTML)
801 man/%.html.in: man/%.xml.in
802 $(XSLTPROC_PROCESS_HTML_IN)
806 ${nodist_man_MANS:=.in} \
807 ${XML_FILES:.xml=.html} \
808 ${XML_IN_FILES:.xml.in=.html.in}
811 org.freedesktop.systemd1.%.xml: systemd
812 $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@
815 $(dbusinterface_DATA)
819 $(DESTDIR)$(systemunitdir) \
820 $(DESTDIR)$(sessionunitdir) \
821 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
822 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
823 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
824 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
825 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
826 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
827 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
828 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
829 $(DESTDIR)$(pkgsysconfdir)/system \
830 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
831 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
832 $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \
833 $(DESTDIR)$(pkgsysconfdir)/session \
834 $(DESTDIR)$(sysconfdir)/xdg/systemd
835 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
837 $(LN_S) $(pkgsysconfdir)/session session )
838 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
839 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket && \
840 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
841 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
842 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
843 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
844 rm -f systemd-update-utmp-runlevel.service && \
845 $(LN_S) ../systemd-update-utmp-runlevel.service )
846 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
847 rm -f systemd-update-utmp-runlevel.service && \
848 $(LN_S) ../systemd-update-utmp-runlevel.service )
849 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
850 rm -f systemd-update-utmp-runlevel.service && \
851 $(LN_S) ../systemd-update-utmp-runlevel.service )
852 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
853 rm -f systemd-update-utmp-runlevel.service && \
854 $(LN_S) ../systemd-update-utmp-runlevel.service )
855 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
856 rm -f systemd-update-utmp-runlevel.service && \
857 $(LN_S) ../systemd-update-utmp-runlevel.service )
858 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
859 rm -f systemd-update-utmp-shutdown.service && \
860 $(LN_S) ../systemd-update-utmp-shutdown.service )
861 ( cd $(DESTDIR)$(sessionunitdir) && \
862 rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \
863 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
864 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
865 $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \
866 $(LN_S) $(systemunitdir)/swap.target swap.target && \
867 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
868 $(LN_S) $(systemunitdir)/printer.target printer.target)
869 ( cd $(DESTDIR)$(systemunitdir) && \
870 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
871 $(LN_S) poweroff.target runlevel0.target && \
872 $(LN_S) rescue.target runlevel1.target && \
873 $(LN_S) multi-user.target runlevel2.target && \
874 $(LN_S) multi-user.target runlevel3.target && \
875 $(LN_S) multi-user.target runlevel4.target && \
876 $(LN_S) graphical.target runlevel5.target && \
877 $(LN_S) reboot.target runlevel6.target )
878 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
879 rm -f default.target ctrl-alt-del.target kbrequest.target && \
880 $(LN_S) $(systemunitdir)/graphical.target default.target && \
881 $(LN_S) $(systemunitdir)/reboot.target ctrl-alt-del.target && \
882 $(LN_S) $(systemunitdir)/rescue.target kbrequest.target )
883 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
884 rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
885 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
886 $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \
887 $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \
888 $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \
889 $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \
890 $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service )
891 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
892 rm -f getty.target remote-fs.target && \
893 $(LN_S) $(systemunitdir)/getty.target getty.target && \
894 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
895 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
896 rm -f dev-hugepages.automount \
897 dev-mqueue.automount \
898 proc-sys-fs-binfmt_misc.automount \
899 sys-kernel-debug.automount \
900 sys-kernel-security.automount && \
901 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
902 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
903 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \
904 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
905 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount )
906 ( cd $(DESTDIR)$(dbussessionservicedir) && \
907 rm -f org.freedesktop.systemd1.service && \
908 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
911 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
912 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
913 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
914 $(DESTDIR)$(systemunitdir)/halt.target.wants \
915 $(DESTDIR)$(systemunitdir)/rescue.target.wants \
916 $(DESTDIR)$(systemunitdir)/multi-user.target.wants
917 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
918 rm -f display-manager.service && \
919 $(LN_S) $(systemunitdir)/prefdm.service display-manager.service )
920 ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
921 rm -f prefdm.service && \
922 $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
923 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
924 rm -f rc-local.service && \
925 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
926 ( cd $(DESTDIR)$(systemunitdir)/rescue.target.wants && \
927 rm -f single.service && \
928 $(LN_S) $(systemunitdir)/single.service single.service )
929 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
930 rm -f plymouth-quit.service && \
931 $(LN_S) ../plymouth-quit.service plymouth-quit.service )
932 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
933 rm -f plymouth-reboot.service && \
934 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
935 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
936 rm -f plymouth-poweroff.service && \
937 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
938 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
939 rm -f plymouth-halt.service && \
940 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
941 ( cd $(DESTDIR)$(systemunitdir) && \
942 rm -f local.service && \
943 $(LN_S) rc-local.service local.service )
944 ( cd $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) && \
945 $(LN_S) halt reboot > /dev/null 2>&1 || true )
948 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
949 rm -f display-manager.service && \
950 $(LN_S) $(systemunitdir)/xdm.service display-manager.service )
951 ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
952 rm -f xdm.service && \
953 $(LN_S) $(systemunitdir)/xdm.service xdm.service )
956 ( cd $(DESTDIR)$(systemunitdir) && \
957 rm -f fsck.target && \
958 $(LN_S) sysinit.target fsck.target )
961 DISTCHECK_CONFIGURE_FLAGS = \
962 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
963 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
964 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
965 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
966 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
967 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
968 --with-rootdir=$$dc_install_base/$(rootdir)
970 upload: all distcheck
971 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
972 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
973 scp man/*.html tango:public/systemd-man/
976 git tag "v$(VERSION)" -m "systemd $(VERSION)"