[gnome-keyring: 102/102] Fix build so it respects DESTDIR



commit 57ef644af3e0d1e3f046606ad4ec6ea76e984bb0
Author: Martin Rapavý <antikapitalista1 gmail com>
Date:   Wed Dec 22 17:21:02 2010 +0000

    Fix build so it respects DESTDIR
    
    Use $(DESTDIR) when marking daemon as setuid.

 daemon/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 0122938..a7bfe4d 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -86,7 +86,7 @@ CLEANFILES = \
 # If installing as non-root, chown+chmod will not succeed but
 # the build will continue.
 install-exec-hook:
-	chown root $(bindir)/gnome-keyring-daemon || true
-	chmod u+s $(bindir)/gnome-keyring-daemon || true
+	chown root $(DESTDIR)$(bindir)/gnome-keyring-daemon || true
+	chmod u+s $(DESTDIR)$(bindir)/gnome-keyring-daemon || true
 
 @INTLTOOL_DESKTOP_RULE@



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