summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2021-08-23 11:31:29 +0200
committerTimotej Lazar <timotej.lazar@araneo.si>2021-08-23 11:31:29 +0200
commite1333c415f02f385456fcd234787ee17c5aca203 (patch)
treed9d329d97f017d26c553268969c79657a14e11f8
parent2d39147e6192d83fb9c1baecf6e63626905c984d (diff)
Add binary to installation
-rw-r--r--fuzbal.pro17
1 files changed, 8 insertions, 9 deletions
diff --git a/fuzbal.pro b/fuzbal.pro
index dc20822..56538ec 100644
--- a/fuzbal.pro
+++ b/fuzbal.pro
@@ -1,17 +1,16 @@
# SPDX-License-Identifier: Unlicense
QT += multimedia qml quick quickcontrols2 svg widgets
-
CONFIG += embed_translations lrelease
-
DEFINES += GIT_VERSION=\\\"$$system(git -C "$$_PRO_FILE_PWD_" describe --always --tags)\\\"
-SOURCES += \
- main.cpp
-
-HEADERS += \
- io.h
-
+SOURCES += main.cpp
+HEADERS += io.h
RESOURCES += main.qrc icons.qrc
-
TRANSLATIONS += translations/fuzbal_sl.ts
+
+unix {
+ isEmpty(PREFIX): PREFIX = /usr/local
+ target.path = $$PREFIX/bin
+ INSTALLS += target
+}