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 27666ea0872bf6617305a2655a6531b2eec4936d..458aec57a242ad38bb6c6322d53731b7a5176445 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 )