[mousetrap] MakeFiles bugfix. Thanks Samuel Thibault



commit b7d0a54619c33822d092d9071caed1af3f4863d1
Author: Flavio Percoco Premoli <flaper87 gmail com>
Date:   Wed Mar 31 11:14:24 2010 +0200

    MakeFiles bugfix. Thanks Samuel Thibault

 src/mousetrap/Makefile.am       |    2 +-
 src/mousetrap/app/Makefile.am   |    2 +-
 src/mousetrap/ocvfw/Makefile.am |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
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]