From ad1914a9123f841a8313512839c2149f76a597d9 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Tue, 13 Jan 2015 13:40:21 +0100 Subject: [PATCH] Use sudo and DESTDIR in install-exec-hook This will allow installing the app via jhbuild --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index c0d50b6b..be1704b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,5 +30,5 @@ xdg_app_LDADD = $(OSTREE_LIBS) xdg_app_CFLAGS = $(OSTREE_CFLAGS) install-exec-hook: - chown root $(bindir)/xdg-app-helper - chmod u+s $(bindir)/xdg-app-helper + sudo chown root $(DESTDIR)$(bindir)/xdg-app-helper + sudo chmod u+s $(DESTDIR)$(bindir)/xdg-app-helper