chiark / gitweb /
build-sys: replace one last mkdir hook with list item
[elogind.git] / Makefile.am
index 93fd3773e6fd61547005dbeb1f23abcb5337a353..1f9a2b4a66eee34204315afedb97b2bd66686bdf 100644 (file)
@@ -1906,11 +1906,9 @@ man/systemd-udevd.8: man/systemd-udevd.service.8
 man/systemd-udevd-control.socket.8: man/systemd-udevd.service.8
 man/systemd-udevd-kernel.socket.8: man/systemd-udevd.service.8
 
-udev-confdirs:
-       -$(MKDIR_P) $(DESTDIR)$(sysconfdir)/udev/rules.d
-       -$(MKDIR_P) $(DESTDIR)$(sysconfdir)/udev/hwdb.d
-
-INSTALL_DATA_HOOKS += udev-confdirs
+INSTALL_DIRS += \
+       $(sysconfdir)/udev/rules.d \
+       $(sysconfdir)/udev/hwdb.d
 
 dist_udevrules_DATA += \
        rules/99-systemd.rules \