From 408dcc9c6978ff1651a7bdff13495ddf80b0bc12 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Sun, 4 Aug 2019 16:23:40 -0400 Subject: [PATCH] Fixes to PRO file to hopefully fix TravisCI build --- SavvyCAN.pro | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/SavvyCAN.pro b/SavvyCAN.pro index 9d67acf..560c205 100644 --- a/SavvyCAN.pro +++ b/SavvyCAN.pro @@ -158,7 +158,15 @@ FORMS += ui/candatagrid.ui \ ui/newconnectiondialog.ui \ ui/temporalgraphwindow.ui -DISTFILES += +DISTFILES += \ + SavvyCAN.qch \ + SavvyCAN.qhc \ + SavvyCAN.qhcp \ + SavvyCAN.qhp \ + examples \ + icon \ + + RESOURCES += \ icons.qrc \ @@ -167,3 +175,18 @@ RESOURCES += \ win32 { LIBS += opengl32.lib } + +unix { + isEmpty(PREFIX) + { + PREFIX=/usr/local + } + target.path = $$PREFIX/bin + shortcutfiles.files=SavvyCAN.desktop + shortcutfiles.path = $$PREFIX/share/applications + INSTALLS += shortcutfiles + DISTFILES += SavvyCAN.desktop +} + +INSTALLS += target +