summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--heimdall-frontend/heimdall-frontend.pro1
-rw-r--r--heimdall/60-heimdall.rules (renamed from heimdall/60-heimdall-galaxy-s.rules)0
-rw-r--r--heimdall/Makefile.am4
-rw-r--r--heimdall/Makefile.in4
4 files changed, 5 insertions, 4 deletions
diff --git a/heimdall-frontend/heimdall-frontend.pro b/heimdall-frontend/heimdall-frontend.pro
index ffd45ea..ecc6235 100644
--- a/heimdall-frontend/heimdall-frontend.pro
+++ b/heimdall-frontend/heimdall-frontend.pro
@@ -95,6 +95,7 @@ INCLUDEPATH += ./GeneratedFiles \
./GeneratedFiles/Release \
../libpit/Source \
.
+unix:INCLUDEPATH += /usr/include
DEPENDPATH += .
MOC_DIR += ./GeneratedFiles/release
OBJECTS_DIR += release
diff --git a/heimdall/60-heimdall-galaxy-s.rules b/heimdall/60-heimdall.rules
index 6c6259e..6c6259e 100644
--- a/heimdall/60-heimdall-galaxy-s.rules
+++ b/heimdall/60-heimdall.rules
diff --git a/heimdall/Makefile.am b/heimdall/Makefile.am
index f1a659f..6ed343c 100644
--- a/heimdall/Makefile.am
+++ b/heimdall/Makefile.am
@@ -22,8 +22,8 @@ heimdall_LDADD = $(DEPS_LIBS) $(STATIC_LIBS)
if LINUXTARGET
-udevrulesdir = /lib/udev/rules.d
-udevrules_DATA = 60-heimdall-galaxy-s.rules
+udevrulesdir = ${libdir}/udev/rules.d
+udevrules_DATA = 60-heimdall.rules
install-data-hook:
@echo ""
diff --git a/heimdall/Makefile.in b/heimdall/Makefile.in
index f16c740..0fc9021 100644
--- a/heimdall/Makefile.in
+++ b/heimdall/Makefile.in
@@ -302,8 +302,8 @@ heimdall_SOURCES = source/Arguments.cpp \
source/VersionAction.cpp
heimdall_LDADD = $(DEPS_LIBS) $(STATIC_LIBS)
-@LINUXTARGET_TRUE@udevrulesdir = /lib/udev/rules.d
-@LINUXTARGET_TRUE@udevrules_DATA = 60-heimdall-galaxy-s.rules
+@LINUXTARGET_TRUE@udevrulesdir = ${libdir}/udev/rules.d
+@LINUXTARGET_TRUE@udevrules_DATA = 60-heimdall.rules
dist_noinst_SCRIPTS = autogen.sh
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am