diff --git a/frame/frame.pro b/frame/frame.pro index 2e92dda1b..e8eb64ab0 100644 --- a/frame/frame.pro +++ b/frame/frame.pro @@ -49,3 +49,6 @@ HEADERS += \ dbus/dbusmenu.h \ item/pluginsitem.h \ controller/dockpluginscontroller.h + +target.path = $${PREFIX}/bin/ +INSTALLS += target diff --git a/interfaces/interfaces.pri b/interfaces/interfaces.pri index 36ddc4c13..fd7c851ae 100644 --- a/interfaces/interfaces.pri +++ b/interfaces/interfaces.pri @@ -3,3 +3,8 @@ HEADERS += \ $$PWD/constants.h INCLUDEPATH += $$PWD + +isEmpty(PREFIX) +{ + PREFIX = /usr +}