diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-10-18 15:53:11 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-10-18 15:53:11 +0200 |
commit | 092c5c6b84b92a40e210ee7447fc7dbd3b492ca4 (patch) | |
tree | 54db3dfe75f8c104938eaf68632ed4f3ff02d04c /tikzit.pro | |
parent | 375621b09d85ee3430659c8278c8ebb56d9a4507 (diff) |
set up install paths (fixes #32)
Diffstat (limited to 'tikzit.pro')
-rw-r--r-- | tikzit.pro | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -4,12 +4,27 @@ # #------------------------------------------------- -QT += core gui widgets -CONFIG += testcase +QT += core gui widgets + +test { + CONFIG += testcase +} TARGET = tikzit TEMPLATE = app +PREFIX = $$(PREFIX) + +isEmpty(PREFIX) { + PREFIX=/usr/local +} + +share.path = $${PREFIX}/share +share.files = share/* + +target.path = $${PREFIX}/bin +INSTALLS += target share + # platform-specific options win32:RC_ICONS += images/tikzit.ico win32:RC_ICONS += images/tikzdoc.ico @@ -115,3 +130,5 @@ test { SOURCES += src/main.cpp } + + |