summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-07-26 07:47:12 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-07-26 07:47:12 +0200
commitc37046cd3cabc07a6e4c5ec09049f56294e10a51 (patch)
tree1e21ef982e31f9143129f74725e769e712c9c4e3
parent72d25fd92569440d765d69fa4511e89b2374df1e (diff)
build-sys: create ntp-units.d dropin directories on install
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 27666ea087..458aec57a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 )