1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

build-sys: create ntp-units.d dropin directories on install

This commit is contained in:
Michal Schmidt 2012-07-26 07:47:12 +02:00
parent 72d25fd925
commit c37046cd3c

View File

@ -2982,6 +2982,9 @@ dbusinterface_DATA += \
org.freedesktop.timedate1.xml
timedated-install-data-hook:
$(MKDIR_P) -m 0755 \
$(DESTDIR)$(prefix)/lib/ntp-units.d \
$(DESTDIR)$(sysconfdir)/ntp-units.d
( cd $(DESTDIR)$(systemunitdir) && \
rm -f dbus-org.freedesktop.timedate1.service && \
$(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )