[mousetrap-list] Missing DESTDIR in Makefile.am



Hello,

Some Makefile.am files are missing the $(DESTDIR) part, here is a patch.

Samuel

diff --git a/src/mousetrap/Makefile.am b/src/mousetrap/Makefile.am
index bef25f7..a65920e 100644
--- a/src/mousetrap/Makefile.am
+++ b/src/mousetrap/Makefile.am
@@ -8,4 +8,4 @@ SUBDIRS = app ocvfw
 mousetrap_pythondir=$(pyexecdir)/mousetrap/
 
 install-exec-hook:
-	chmod a+rx $(mousetrap_pythondir) -R
+	chmod a+rx $(DESTDIR)$(mousetrap_pythondir) -R
diff --git a/src/mousetrap/app/Makefile.am b/src/mousetrap/app/Makefile.am
index 7bf30bb..452dda0 100644
--- a/src/mousetrap/app/Makefile.am
+++ b/src/mousetrap/app/Makefile.am
@@ -18,4 +18,4 @@ SUBDIRS = lib ui addons
 mousetrap_pythondir=$(pyexecdir)/mousetrap/app
 
 install-exec-hook:
-	chmod a+rx $(mousetrap_pythondir) -R
+	chmod a+rx $(DESTDIR)$(mousetrap_pythondir) -R
diff --git a/src/mousetrap/ocvfw/Makefile.am b/src/mousetrap/ocvfw/Makefile.am
index b846a67..d9a759c 100644
--- a/src/mousetrap/ocvfw/Makefile.am
+++ b/src/mousetrap/ocvfw/Makefile.am
@@ -13,4 +13,4 @@ SUBDIRS = dev haars idm
 ocvfw_pythondir=$(pyexecdir)/mousetrap/ocvfw
 
 install-exec-hook:
-	chmod a+rx $(ocvfw_pythondir) -R
+	chmod a+rx $(DESTDIR)$(ocvfw_pythondir) -R


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]