summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 93fd3773e6..1f9a2b4a66 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 \