systemd-detect-virt \
systemd-sysctl \
systemd-localed \
- systemd-timedated \
systemd-logind \
systemd-uaccess
systemd-hostnamed
endif
+if ENABLE_TIMEDATED
+rootlibexec_PROGRAMS += \
+ systemd-timedated
+endif
+
systemgenerator_PROGRAMS = \
systemd-getty-generator
dist_dbuspolicy_DATA = \
src/org.freedesktop.systemd1.conf \
src/org.freedesktop.locale1.conf \
- src/org.freedesktop.timedate1.conf \
src/org.freedesktop.login1.conf
if ENABLE_HOSTNAMED
src/org.freedesktop.hostname1.conf
endif
+if ENABLE_TIMEDATED
+dist_dbuspolicy_DATA += \
+ src/org.freedesktop.timedate1.conf
+endif
+
dist_dbussystemservice_DATA = \
src/org.freedesktop.systemd1.service \
src/org.freedesktop.locale1.service \
- src/org.freedesktop.timedate1.service \
src/org.freedesktop.login1.service
if ENABLE_HOSTNAMED
src/org.freedesktop.hostname1.service
endif
+if ENABLE_TIMEDATED
+dist_dbussystemservice_DATA += \
+ src/org.freedesktop.timedate1.service
+endif
+
dist_udevrules_DATA = \
src/70-uaccess.rules \
src/71-seat.rules
org.freedesktop.systemd1.Snapshot.xml \
org.freedesktop.systemd1.Swap.xml \
org.freedesktop.systemd1.Path.xml \
- org.freedesktop.locale1.xml \
- org.freedesktop.timedate1.xml
+ org.freedesktop.locale1.xml
if ENABLE_HOSTNAMED
dbusinterface_DATA += \
org.freedesktop.hostname1.xml
endif
+if ENABLE_TIMEDATED
+dbusinterface_DATA += \
+ org.freedesktop.timedate1.xml
+endif
+
dist_bashcompletion_DATA = \
src/systemctl-bash-completion.sh
units/systemd-logger.service \
units/systemd-shutdownd.service \
units/systemd-localed.service \
- units/systemd-timedated.service \
units/systemd-logind.service \
units/systemd-kmsg-syslogd.service \
units/systemd-modules-load.service \
units/systemd-hostnamed.service
endif
+if ENABLE_TIMEDATED
+nodist_systemunit_DATA += \
+ units/systemd-timedated.service
+endif
+
dist_userunit_DATA = \
units/user/default.target \
units/user/exit.target
units/systemd-logger.service.in \
units/systemd-shutdownd.service.in \
units/systemd-localed.service.in \
- units/systemd-timedated.service.in \
units/systemd-logind.service.in \
units/systemd-kmsg-syslogd.service.in \
units/systemd-modules-load.service.in \
units/systemd-hostnamed.service.in
endif
+if ENABLE_TIMEDATED
+EXTRA_DIST += \
+ units/systemd-timedated.service.in
+endif
+
if TARGET_FEDORA
dist_systemunit_DATA += \
units/fedora/prefdm.service \
# Passed through intltool only
polkitpolicy_in_files = \
src/org.freedesktop.locale1.policy.in \
- src/org.freedesktop.timedate1.policy.in \
src/org.freedesktop.login1.policy.in
if ENABLE_HOSTNAMED
src/org.freedesktop.hostname1.policy.in
endif
+if ENABLE_TIMEDATED
+polkitpolicy_in_files += \
+ src/org.freedesktop.timedate1.policy.in
+endif
+
# First passed through sed, followed by intltool
polkitpolicy_in_in_files = \
src/org.freedesktop.systemd1.policy.in.in
$(LN_S) graphical.target runlevel5.target && \
$(LN_S) reboot.target runlevel6.target )
( cd $(DESTDIR)$(systemunitdir) && \
- rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.locale1.service dbus-org.freedesktop.timedate1.service dbus-org.freedesktop.login1.service autovt@.service && \
+ rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.locale1.service dbus-org.freedesktop.login1.service autovt@.service && \
$(LN_S) graphical.target default.target && \
$(LN_S) reboot.target ctrl-alt-del.target && \
$(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
- $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
$(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
$(LN_S) getty@.service autovt@.service )
( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
( cd $(DESTDIR)$(systemunitdir) && \
rm -f dbus-org.freedesktop.hostname1.service && \
$(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
+endif
+if ENABLE_TIMEDATED
+ ( cd $(DESTDIR)$(systemunitdir) && \
+ rm -f dbus-org.freedesktop.timedate1.service && \
+ $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
endif
( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
rm -f systemd-tmpfiles-clean.timer && \