diff --git a/kscreensaver/krootbacking/Makefile.am b/kscreensaver/krootbacking/Makefile.am index 0352c5d2..46144d14 100644 --- a/kscreensaver/krootbacking/Makefile.am +++ b/kscreensaver/krootbacking/Makefile.am @@ -13,5 +13,5 @@ hackdir = /usr/local/bin/ hack_DATA = xscreensaver-getimage xscreensaver-getimage-file install-data-hook: - chmod 755 $(hackdir)/xscreensaver-getimage - chmod 755 $(hackdir)/xscreensaver-getimage-file + chmod 755 $(DESTDIR)$(hackdir)/xscreensaver-getimage + chmod 755 $(DESTDIR)$(hackdir)/xscreensaver-getimage-file