summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grp-udev/hwdb/Makefile2
-rw-r--r--src/grp-udev/systemd-hwdb/Makefile2
2 files changed, 2 insertions, 2 deletions
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 b84e42af85..6f6731b3be 100644
--- a/src/grp-udev/systemd-hwdb/Makefile
+++ b/src/grp-udev/systemd-hwdb/Makefile
@@ -40,6 +40,8 @@ rootbin_PROGRAMS += \
SYSINIT_TARGET_WANTS += \
systemd-hwdb-update.service
+endif # ENABLE_HWDB
+
EXTRA_DIST += \
units/systemd-hwdb-update.service.in