summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--src/grp-udev/hwdb/Makefile2
-rw-r--r--src/grp-udev/systemd-hwdb/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 3ffb00eecf..7a763ee1d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3990,9 +3990,9 @@ INSTALL_DATA_HOOKS += \
hwdb-remove-hook:
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
+#@auto/systemd-hwdb/Makefile
endif # ENABLE_HWDB
-#@auto/systemd-hwdb/Makefile
EXTRA_DIST += \
units/systemd-hwdb-update.service.in
#@auto/hwdb/Makefile
diff --git a/src/grp-udev/hwdb/Makefile b/src/grp-udev/hwdb/Makefile
index 00f65fb65c..c5d8528013 100644
--- a/src/grp-udev/hwdb/Makefile
+++ b/src/grp-udev/hwdb/Makefile
@@ -50,8 +50,6 @@ INSTALL_DATA_HOOKS += \
hwdb-remove-hook:
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
-endif # ENABLE_HWDB
-
EXTRA_DIST += \
hwdb/ids-update.pl \
hwdb/sdio.ids
diff --git a/src/grp-udev/systemd-hwdb/Makefile b/src/grp-udev/systemd-hwdb/Makefile
index 3fb4311b79..901753bdf0 100644
--- a/src/grp-udev/systemd-hwdb/Makefile
+++ b/src/grp-udev/systemd-hwdb/Makefile
@@ -41,6 +41,8 @@ rootbin_PROGRAMS += \
SYSINIT_TARGET_WANTS += \
systemd-hwdb-update.service
+endif # ENABLE_HWDB
+
EXTRA_DIST += \
units/systemd-hwdb-update.service.in