diff --git a/src/Makefile.am b/src/Makefile.am index 09b4c84..7fb6e5b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -171,7 +171,7 @@ desktop_in_files = xfce4-notes-plugin.desktop.in if HAVE_LIBXFCE4PANEL47 desktop_DATA = xfce4-notes-plugin-47.desktop install-data-hook: - mv $(desktopdir)/xfce4-notes-plugin-47.desktop $(desktopdir)/xfce4-notes-plugin.desktop + mv $(DESTDIR)$(desktopdir)/xfce4-notes-plugin-47.desktop $(DESTDIR)$(desktopdir)/xfce4-notes-plugin.desktop else desktop_DATA = xfce4-notes-plugin.desktop endif