Use sudo and DESTDIR in install-exec-hook

This will allow installing the app via jhbuild
tingping/wmclass
Vadim Rutkovsky 2015-01-13 13:40:21 +01:00
parent ab27b589f0
commit ad1914a912
1 changed files with 2 additions and 2 deletions

View File

@ -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