summaryrefslogtreecommitdiff
path: root/src/systemd-hwdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-hwdb/Makefile')
-rw-r--r--src/systemd-hwdb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemd-hwdb/Makefile b/src/systemd-hwdb/Makefile
index 47f900aefc..ce10c46e99 100644
--- a/src/systemd-hwdb/Makefile
+++ b/src/systemd-hwdb/Makefile
@@ -34,7 +34,7 @@ systemd_hwdb_SOURCES = \
systemd_hwdb_LDADD = \
libshared.la
-bin_PROGRAMS += \
+rootbin_PROGRAMS += \
systemd-hwdb
dist_udevhwdb_DATA = \
@@ -59,7 +59,7 @@ SYSINIT_TARGET_WANTS += \
# Update hwdb on installation. Do not bother if installing
# in DESTDIR, since this is likely for packaging purposes.
hwdb-update-hook:
- -test -n "$(DESTDIR)" || $(bindir)/systemd-hwdb update
+ -test -n "$(DESTDIR)" || $(rootbindir)/systemd-hwdb update
INSTALL_DATA_HOOKS += \
hwdb-update-hook