summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--heimdall/Makefile.am2
-rw-r--r--heimdall/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/heimdall/Makefile.am b/heimdall/Makefile.am
index 398a705..c793757 100644
--- a/heimdall/Makefile.am
+++ b/heimdall/Makefile.am
@@ -22,7 +22,7 @@ heimdall_LDADD = $(DEPS_LIBS) $(STATIC_LIBS)
if LINUXTARGET
-udevrulesdir = /lib/udev/rules.d
+udevrulesdir = @libdir@/udev/rules.d
udevrules_DATA = 60-heimdall.rules
install-data-hook:
diff --git a/heimdall/Makefile.in b/heimdall/Makefile.in
index d06742c..bab761a 100644
--- a/heimdall/Makefile.in
+++ b/heimdall/Makefile.in
@@ -302,7 +302,7 @@ heimdall_SOURCES = source/Arguments.cpp \
source/VersionAction.cpp
heimdall_LDADD = $(DEPS_LIBS) $(STATIC_LIBS)
-@LINUXTARGET_TRUE@udevrulesdir = /lib/udev/rules.d
+@LINUXTARGET_TRUE@udevrulesdir = @libdir@/udev/rules.d
@LINUXTARGET_TRUE@udevrules_DATA = 60-heimdall.rules
dist_noinst_SCRIPTS = autogen.sh
all: config.h