From 8379ed09a580b3c09c26038376f11332775179b3 Mon Sep 17 00:00:00 2001 From: Jeena Date: Thu, 5 Mar 2015 21:06:16 +0100 Subject: [PATCH] fixed prefix --- FeedTheMonkey.pro | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/FeedTheMonkey.pro b/FeedTheMonkey.pro index 8dab1d3..15bd7f1 100644 --- a/FeedTheMonkey.pro +++ b/FeedTheMonkey.pro @@ -12,7 +12,6 @@ SOURCES += \ RESOURCES += \ html/html.qrc \ - misc/misc.qrc \ qml/qml.qrc \ mac { @@ -21,12 +20,16 @@ mac { } unix { - target.path = $$PREFIX/usr/local/bin + isEmpty(PREFIX) { + PREFIX = /usr/local + } + + target.path = $$PREFIX/bin shortcutfiles.files = misc/feedthemonkey.desktop - shortcutfiles.path = $$PREFIX/usr/share/applications/ + shortcutfiles.path = $$PREFIX/share/applications/ data.files += misc/feedthemonkey.xpm - data.path = $$PREFIX/usr/share/pixmaps/ + data.path = $$PREFIX/share/pixmaps/ INSTALLS += shortcutfiles INSTALLS += data