Skip to content

Commit 27e7b73

Browse files
committed
Define PREFIX variable to be able to redefine it
1 parent b9d95cd commit 27e7b73

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ADMeshGUI.pro

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,19 @@ win32 {
6161
}
6262

6363
unix {
64+
isEmpty(PREFIX):PREFIX = /usr
6465
bin.files += admeshgui
65-
bin.path = /usr/bin
66+
bin.path = $$PREFIX/bin
6667
mainico.files += Resources/admeshgui.svg
67-
mainico.path = /usr/share/icons/hicolor/scalable/apps
68+
mainico.path = $$PREFIX/share/icons/hicolor/scalable/apps
6869
16ico.files += Resources/16x16/admeshgui.png
69-
16ico.path = /usr/share/icons/hicolor/16x16/apps
70+
16ico.path = $$PREFIX/share/icons/hicolor/16x16/apps
7071
32ico.files += Resources/32x32/admeshgui.png
71-
32ico.path = /usr/share/icons/hicolor/32x32/apps
72+
32ico.path = $$PREFIX/share/icons/hicolor/32x32/apps
7273
48ico.files += Resources/48x48/admeshgui.png
73-
48ico.path = /usr/share/icons/hicolor/48x48/apps
74+
48ico.path = $$PREFIX/share/icons/hicolor/48x48/apps
7475
desktop.files += admeshgui.desktop
75-
desktop.path = /usr/share/applications
76+
desktop.path = $$PREFIX/share/applications
7677
INSTALLS += bin desktop mainico 16ico 32ico 48ico
7778
}
7879

0 commit comments

Comments
 (0)