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 \
87 pamlib_LTLIBRARIES = \
91 dist_pkgsysconf_DATA = \
94 dist_dbuspolicy_DATA = \
95 src/org.freedesktop.systemd1.conf
97 dist_dbussystemservice_DATA = \
98 src/org.freedesktop.systemd1.service
100 dist_udevrules_DATA = \
103 dbusinterface_DATA = \
104 org.freedesktop.systemd1.Manager.xml \
105 org.freedesktop.systemd1.Job.xml \
106 org.freedesktop.systemd1.Unit.xml \
107 org.freedesktop.systemd1.Service.xml \
108 org.freedesktop.systemd1.Socket.xml \
109 org.freedesktop.systemd1.Timer.xml \
110 org.freedesktop.systemd1.Target.xml \
111 org.freedesktop.systemd1.Device.xml \
112 org.freedesktop.systemd1.Mount.xml \
113 org.freedesktop.systemd1.Automount.xml \
114 org.freedesktop.systemd1.Snapshot.xml \
115 org.freedesktop.systemd1.Swap.xml \
116 org.freedesktop.systemd1.Path.xml
118 dist_systemunit_DATA = \
119 units/emergency.service \
120 units/emergency.target \
124 units/local-fs.target \
125 units/network.target \
126 units/nss-lookup.target \
127 units/mail-transfer-agent.target \
128 units/poweroff.target \
129 units/reboot.target \
130 units/rescue.target \
131 units/rpcbind.target \
132 units/rtc-set.target \
133 units/shutdown.target \
134 units/umount.target \
135 units/sigpwr.target \
136 units/sockets.target \
139 units/systemd-initctl.socket \
140 units/systemd-logger.socket \
141 units/systemd-shutdownd.socket \
142 units/dev-hugepages.automount \
143 units/dev-hugepages.mount \
144 units/dev-mqueue.automount \
145 units/dev-mqueue.mount \
146 units/proc-sys-fs-binfmt_misc.automount \
147 units/proc-sys-fs-binfmt_misc.mount \
148 units/sys-kernel-debug.automount \
149 units/sys-kernel-debug.mount \
150 units/sys-kernel-security.automount \
151 units/sys-kernel-security.mount \
152 units/var-lock.mount \
153 units/var-run.mount \
154 units/printer.target \
155 units/bluetooth.target \
156 units/smartcard.target
158 nodist_systemunit_DATA = \
159 units/sysinit.target \
160 units/getty@.service \
161 units/graphical.target \
162 units/remote-fs.target \
163 units/multi-user.target \
164 units/systemd-initctl.service \
165 units/systemd-logger.service \
166 units/systemd-shutdownd.service \
167 units/systemd-update-utmp-runlevel.service \
168 units/systemd-update-utmp-shutdown.service \
169 units/systemd-random-seed-save.service \
170 units/systemd-random-seed-load.service \
173 dist_sessionunit_DATA = \
174 units/session/default.target
176 nodist_sessionunit_DATA = \
177 units/session/remote-fs.target \
178 units/session/exit.service
181 units/sysinit.target.m4 \
182 units/getty@.service.m4 \
183 units/graphical.target.m4 \
184 units/multi-user.target.m4 \
185 units/remote-fs.target.m4 \
186 units/systemd-initctl.service.in \
187 units/systemd-logger.service.in \
188 units/systemd-shutdownd.service.in \
189 units/systemd-update-utmp-runlevel.service.in \
190 units/systemd-update-utmp-shutdown.service.in \
191 units/systemd-random-seed-save.service.in \
192 units/systemd-random-seed-load.service.in \
193 units/syslog.target.in \
194 units/session/exit.service.in \
198 dist_systemunit_DATA += \
199 units/fedora/halt.service \
200 units/fedora/killall.service \
201 units/fedora/poweroff.service \
202 units/fedora/prefdm.service \
203 units/fedora/rc-local.service \
204 units/fedora/reboot.service \
205 units/fedora/sysinit.service \
206 units/fedora/single.service \
207 units/fedora/plymouth-quit.service \
208 units/fedora/plymouth-reboot.service \
209 units/fedora/plymouth-poweroff.service \
210 units/fedora/plymouth-halt.service
214 dist_systemunit_DATA += \
215 units/suse/halt.service \
216 units/suse/poweroff.service \
217 units/suse/reboot.service \
218 units/suse/fsck.target
222 dist_systemunit_DATA += \
223 units/gentoo/halt.service \
224 units/gentoo/killall.service \
225 units/gentoo/poweroff.service \
226 units/gentoo/reboot.service \
227 units/gentoo/xdm.service
231 dist_systemunit_DATA += \
232 units/arch/sysinit.service \
233 units/arch/rc-local.service \
234 units/arch/halt.service \
235 units/arch/poweroff.service \
236 units/arch/reboot.service
246 pkgconfigdata_DATA = \
249 noinst_LTLIBRARIES = \
250 libsystemd-basic.la \
253 libsystemd_basic_la_SOURCES = \
264 libsystemd_basic_la_CFLAGS = \
268 libsystemd_basic_la_LIBADD = \
271 libsystemd_core_la_SOURCES = \
276 src/load-fragment.c \
298 src/dbus-automount.c \
300 src/dbus-snapshot.c \
306 src/hostname-setup.c \
307 src/loopback-setup.c \
309 src/modprobe-setup.c \
317 libsystemd_core_la_CFLAGS = \
325 libsystemd_core_la_LIBADD = \
326 libsystemd-basic.la \
333 # This is needed because automake is buggy in how it generates the
334 # rules for C programs, but not Vala programs. We therefore can't
335 # list the .h files as dependencies if we want make dist to work.
338 ${libsystemd_basic_la_SOURCES:.c=.h} \
339 ${libsystemd_core_la_SOURCES:.c=.h} \
345 src/linux/auto_dev-ioctl.h \
361 man/systemd-notify.1 \
364 man/sd_listen_fds.3 \
367 man/systemd.service.5 \
368 man/systemd.socket.5 \
369 man/systemd.mount.5 \
370 man/systemd.automount.5 \
372 man/systemd.timer.5 \
374 man/systemd.target.5 \
375 man/systemd.device.5 \
376 man/systemd.snapshot.5 \
391 man/sd_is_socket_unix.3 \
392 man/sd_is_socket_inet.3 \
396 man/reboot.8: man/halt.8
397 man/poweroff.8: man/halt.8
398 man/sd_is_socket.3: man/sd_is_fifo.3
399 man/sd_is_socket_unix.3: man/sd_is_fifo.3
400 man/sd_is_socket_inet.3: man/sd_is_fifo.3
401 man/sd_notifyf.3: man/sd_notify.3
402 man/init.1: man/systemd.1
409 man/systemd.special.7
412 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
415 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
418 ${XML_FILES:.xml=.html}
420 nodist_noinst_DATA = \
421 ${XML_IN_FILES:.xml.in=.html}
426 ${nodist_man_MANS:=.in} \
427 ${XML_IN_FILES:.xml.in=.html.in}
440 test_engine_SOURCES = \
443 test_engine_CFLAGS = $(systemd_CFLAGS)
444 test_engine_LDADD = $(systemd_LDADD)
446 test_job_type_SOURCES = \
449 test_job_type_CFLAGS = $(systemd_CFLAGS)
450 test_job_type_LDADD = $(systemd_LDADD)
455 test_ns_CFLAGS = $(systemd_CFLAGS)
456 test_ns_LDADD = $(systemd_LDADD)
458 test_loopback_SOURCES = \
459 src/test-loopback.c \
462 test_loopback_LDADD = \
465 test_daemon_SOURCES = \
469 test_daemon_LDADD = \
472 test_cgroup_SOURCES = \
476 test_cgroup_CFLAGS = \
479 test_cgroup_LDADD = \
482 test_env_replace_SOURCES = \
483 src/test-env-replace.c
485 test_env_replace_CFLAGS = \
488 test_env_replace_LDADD = \
491 systemd_logger_SOURCES = \
496 systemd_logger_LDADD = \
497 libsystemd-basic.la \
500 systemd_initctl_SOURCES = \
505 systemd_initctl_CFLAGS = \
509 systemd_initctl_LDADD = \
510 libsystemd-basic.la \
513 systemd_update_utmp_SOURCES = \
518 systemd_update_utmp_CFLAGS = \
523 systemd_update_utmp_LDADD = \
524 libsystemd-basic.la \
528 systemd_random_seed_SOURCES = \
531 systemd_random_seed_CFLAGS = \
534 systemd_random_seed_LDADD = \
537 systemd_shutdownd_SOURCES = \
542 systemd_shutdownd_CFLAGS = \
545 systemd_shutdownd_LDADD = \
548 systemd_cgroups_agent_SOURCES = \
549 src/cgroups-agent.c \
552 systemd_cgroups_agent_CFLAGS = \
556 systemd_cgroups_agent_LDADD = \
557 libsystemd-basic.la \
560 systemctl_SOURCES = \
574 libsystemd-basic.la \
577 systemd_notify_SOURCES = \
581 systemd_notify_LDADD = \
584 systemd_cgls_SOURCES = \
589 systemd_cgls_CFLAGS = \
592 systemd_cgls_LDADD = \
595 systemadm_SOURCES = \
597 src/systemd-interfaces.vala
603 -Wno-unused-variable \
604 -Wno-unused-function \
606 -Wno-format-nonliteral
608 systemadm_VALAFLAGS = \
618 pam_systemd_la_SOURCES = \
623 pam_systemd_la_CFLAGS = \
627 pam_systemd_la_LDFLAGS = \
632 -export-symbols-regex '^pam_sm_.*'
634 pam_systemd_la_LIBADD = \
635 libsystemd-basic.la \
639 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
640 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
641 -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \
642 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
643 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
644 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
645 -e 's,@systemunitdir\@,$(systemunitdir),g' \
646 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
647 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
648 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
649 -e 's,@prefix\@,$(prefix),g' \
652 units/%: units/%.in Makefile
655 man/%: man/%.in Makefile
658 %.pc: %.pc.in Makefile
661 M4_PROCESS_SYSTEM = \
662 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
663 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@
665 M4_PROCESS_SESSION = \
666 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
667 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@
669 units/%: units/%.m4 Makefile
672 units/session/%: units/%.m4 Makefile
673 $(M4_PROCESS_SESSION)
676 $(nodist_systemunit_DATA) \
677 $(nodist_sessionunit_DATA) \
679 ${XML_IN_FILES:.xml.in=.html} \
680 $(pkgconfigdata_DATA)
684 ${systemadm_SOURCES:.vala=.c}
690 --param funcsynopsis.style "'ansi'"
692 XSLTPROC_PROCESS_MAN = \
693 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
694 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
696 XSLTPROC_PROCESS_MAN_IN = \
697 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
698 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
701 XSLTPROC_PROCESS_HTML = \
702 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
703 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
705 XSLTPROC_PROCESS_HTML_IN = \
706 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
707 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
711 $(XSLTPROC_PROCESS_MAN)
713 man/%.1.in: man/%.xml.in
714 $(XSLTPROC_PROCESS_MAN)
717 $(XSLTPROC_PROCESS_MAN)
719 man/%.3.in: man/%.xml.in
720 $(XSLTPROC_PROCESS_MAN)
723 $(XSLTPROC_PROCESS_MAN)
725 man/%.5.in: man/%.xml.in
726 $(XSLTPROC_PROCESS_MAN)
729 $(XSLTPROC_PROCESS_MAN)
731 man/%.7.in: man/%.xml.in
732 $(XSLTPROC_PROCESS_MAN_IN)
735 $(XSLTPROC_PROCESS_MAN)
737 man/%.8.in: man/%.xml.in
738 $(XSLTPROC_PROCESS_MAN_IN)
740 man/%.html: man/%.xml
741 $(XSLTPROC_PROCESS_HTML)
743 man/%.html.in: man/%.xml.in
744 $(XSLTPROC_PROCESS_HTML_IN)
748 ${nodist_man_MANS:=.in} \
749 ${XML_FILES:.xml=.html} \
750 ${XML_IN_FILES:.xml.in=.html.in}
753 org.freedesktop.systemd1.%.xml: systemd
754 $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@
757 $(dbusinterface_DATA)
761 $(DESTDIR)$(systemunitdir) \
762 $(DESTDIR)$(sessionunitdir) \
763 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
764 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
765 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
766 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
767 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
768 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
769 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
770 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
771 $(DESTDIR)$(pkgsysconfdir)/system \
772 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
773 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
774 $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \
775 $(DESTDIR)$(pkgsysconfdir)/session \
776 $(DESTDIR)$(sysconfdir)/xdg/systemd
777 $(MKDIR_P) -m 0755 $(DESTDIR)/cgroup || \
778 echo "Don't forget to create /cgroup! Couldn't create it for you, continuing anyway."
779 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
781 $(LN_S) $(pkgsysconfdir)/session session )
782 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
783 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket && \
784 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
785 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
786 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
787 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
788 rm -f systemd-update-utmp-runlevel.service && \
789 $(LN_S) ../systemd-update-utmp-runlevel.service )
790 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
791 rm -f systemd-update-utmp-runlevel.service && \
792 $(LN_S) ../systemd-update-utmp-runlevel.service )
793 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
794 rm -f systemd-update-utmp-runlevel.service && \
795 $(LN_S) ../systemd-update-utmp-runlevel.service )
796 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
797 rm -f systemd-update-utmp-runlevel.service && \
798 $(LN_S) ../systemd-update-utmp-runlevel.service )
799 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
800 rm -f systemd-update-utmp-runlevel.service && \
801 $(LN_S) ../systemd-update-utmp-runlevel.service )
802 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
803 rm -f systemd-update-utmp-shutdown.service && \
804 $(LN_S) ../systemd-update-utmp-shutdown.service )
805 ( cd $(DESTDIR)$(sessionunitdir) && \
806 rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \
807 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
808 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
809 $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \
810 $(LN_S) $(systemunitdir)/swap.target swap.target && \
811 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
812 $(LN_S) $(systemunitdir)/printer.target printer.target)
813 ( cd $(DESTDIR)$(systemunitdir) && \
814 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
815 $(LN_S) poweroff.target runlevel0.target && \
816 $(LN_S) rescue.target runlevel1.target && \
817 $(LN_S) multi-user.target runlevel2.target && \
818 $(LN_S) multi-user.target runlevel3.target && \
819 $(LN_S) multi-user.target runlevel4.target && \
820 $(LN_S) graphical.target runlevel5.target && \
821 $(LN_S) reboot.target runlevel6.target )
822 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
823 rm -f default.target ctrl-alt-del.target kbrequest.target && \
824 $(LN_S) $(systemunitdir)/graphical.target default.target && \
825 $(LN_S) $(systemunitdir)/reboot.target ctrl-alt-del.target && \
826 $(LN_S) $(systemunitdir)/rescue.target kbrequest.target )
827 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
828 rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
829 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
830 $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \
831 $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \
832 $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \
833 $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \
834 $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service )
835 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
836 rm -f getty.target remote-fs.target && \
837 $(LN_S) $(systemunitdir)/getty.target getty.target && \
838 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
839 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
840 rm -f dev-hugepages.automount \
841 dev-mqueue.automount \
842 proc-sys-fs-binfmt_misc.automount \
843 sys-kernel-debug.automount \
844 sys-kernel-security.automount && \
845 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
846 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
847 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \
848 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
849 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount )
850 ( cd $(DESTDIR)$(dbussessionservicedir) && \
851 rm -f org.freedesktop.systemd1.service && \
852 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
855 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
856 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
857 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
858 $(DESTDIR)$(systemunitdir)/halt.target.wants \
859 $(DESTDIR)$(systemunitdir)/rescue.target.wants \
860 $(DESTDIR)$(systemunitdir)/multi-user.target.wants
861 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
862 rm -f display-manager.service && \
863 $(LN_S) $(systemunitdir)/prefdm.service display-manager.service )
864 ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
865 rm -f prefdm.service && \
866 $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
867 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
868 rm -f rc-local.service && \
869 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
870 ( cd $(DESTDIR)$(systemunitdir)/rescue.target.wants && \
871 rm -f single.service && \
872 $(LN_S) $(systemunitdir)/single.service single.service )
873 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
874 rm -f plymouth-quit.service && \
875 $(LN_S) ../plymouth-quit.service plymouth-quit.service )
876 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
877 rm -f plymouth-reboot.service && \
878 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
879 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
880 rm -f plymouth-poweroff.service && \
881 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
882 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
883 rm -f plymouth-halt.service && \
884 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
885 ( cd $(DESTDIR)$(systemunitdir) && \
886 rm -f local.service && \
887 $(LN_S) rc-local.service local.service )
888 ( cd $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) && \
889 $(LN_S) halt reboot > /dev/null 2>&1 || true )
892 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
893 rm -f display-manager.service && \
894 $(LN_S) $(systemunitdir)/xdm.service display-manager.service )
895 ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
896 rm -f xdm.service && \
897 $(LN_S) $(systemunitdir)/xdm.service xdm.service )
900 ( cd $(DESTDIR)$(systemunitdir) && \
901 rm -f fsck.target && \
902 $(LN_S) sysinit.target fsck.target )
905 DISTCHECK_CONFIGURE_FLAGS = \
906 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
907 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
908 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
909 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
910 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
911 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
912 --with-rootdir=$$dc_install_base/$(rootdir)
914 upload: all distcheck
915 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/cvs.fedora/systemd/devel/
916 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
917 scp man/*.html tango:public/systemd-man/
920 git tag "v$(VERSION)" -m "systemd $(VERSION)"