chiark / gitweb /
build-sys: create ntp-units.d dropin directories on install
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 26 Jul 2012 05:47:12 +0000 (07:47 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 26 Jul 2012 05:47:12 +0000 (07:47 +0200)
Makefile.am

index 27666ea..458aec5 100644 (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 )